Skip to content

Commit

Permalink
Better help message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vandenberg committed Mar 11, 2022
1 parent b67ab22 commit 02883e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/relations.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@


$helpersfilename = 'helpers.php';
$handle = fopen('helpers.php', "r") or die("Unable to open Helpers file!");;
$handle = fopen('helpers.php', "r") or die("Unable to open Helpers file! Please check your file permissions.");;
$helpers = fread($handle, filesize($helpersfilename));
fclose($handle);

$helpersfile = fopen("app/".$helpersfilename, "w") or die("Unable to create Helpers file!");
$helpersfile = fopen("app/".$helpersfilename, "w") or die("Unable to create Helpers file! Please check your file permissions");
fwrite($helpersfile, $helpers);
fclose($helpersfile);

Expand Down

0 comments on commit 02883e1

Please sign in to comment.