From 2e30aa481ec8c2773ce054acd39ea5ad377a638e Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Sat, 7 May 2022 21:57:26 -0400 Subject: [PATCH] Remove stderr warning message which prints in server log Fixes #18 --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index e1313ac..39fee72 100644 --- a/index.php +++ b/index.php @@ -246,6 +246,7 @@ function file_put_contents($n, $d) $page = DEFAULT_PAGE; $filename = PAGES_PATH . "/$page.txt"; +$text = ""; if ( file_exists($filename) ) {