Skip to content

Commit

Permalink
Remove stderr warning message which prints in server log
Browse files Browse the repository at this point in the history
  • Loading branch information
za3k committed May 8, 2022
1 parent 13e1695 commit 2e30aa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ function file_put_contents($n, $d)
$page = DEFAULT_PAGE;

$filename = PAGES_PATH . "/$page.txt";
$text = "";

if ( file_exists($filename) )
{
Expand Down

0 comments on commit 2e30aa4

Please sign in to comment.