aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-10-27 09:19:29 +0200
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-10-27 09:19:29 +0200
commit78112fa3ee94f7f29f842f82fac992c9e6bd236f (patch)
tree8badae5afbbe541b7e315a23cadc95da7f47b1b9 /App.php
parent64cfbcf3dc766a5bbe80b74072c4686fd956bc53 (diff)
downloadmain-78112fa3ee94f7f29f842f82fac992c9e6bd236f.tar.gz
main-78112fa3ee94f7f29f842f82fac992c9e6bd236f.tar.bz2
main-78112fa3ee94f7f29f842f82fac992c9e6bd236f.zip
More fixes
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);
}