From 79b4e6f114a83d2bb9b336478f462442875692b1 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 24 Nov 2010 12:59:44 +0000 Subject: [PATCH] fix logfile() for newline, thanks Klaver git-svn-id: http://www.observium.org/svn/observer/trunk@1739 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 6d7c90920..1f470fbdc 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -55,7 +55,7 @@ function logfile($string) global $config; $fd = fopen($config['log_file'],'a'); - fputs($fd,$string); + fputs($fd,$string . "\n"); fclose($fd); }