From 78112fa3ee94f7f29f842f82fac992c9e6bd236f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 27 Oct 2009 09:19:29 +0200 Subject: More fixes --- App.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'App.php') 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); } -- cgit v1.2.3