aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'App.php')
-rw-r--r--App.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/App.php b/App.php
index 9912b31..bacabbf 100644
--- a/App.php
+++ b/App.php
@@ -138,8 +138,9 @@ class App
return false;
}
+ $msg = trim($msg);
$fh = fopen($file, "a+");
- fwrite($fh, $msg);
+ fwrite($fh, "$msg\n");
fclose($fh);
}