diff --git a/server/lib/app.inc.php b/server/lib/app.inc.php index f8f4a3081156860fe934162c5293b393b8e68194..ea6bf27977c76e913a30e964f44ab13d2f3a2da7 100644 --- a/server/lib/app.inc.php +++ b/server/lib/app.inc.php @@ -266,7 +266,7 @@ class app { } /** @var string Formatted message to be sent to the logging subsystems. */ - $log_msg = @date('d.m.Y-H:i') . ' - ' . $priority_txt .' ' . $file_line_caller . '- '. $msg; + $log_msg = @date('d.m.Y-H:i') . ' - ' . $priority_txt . ' ' . $file_line_caller . '- '. $msg; // Check if the user-set priority defines that this message should be output at all. if($priority >= $conf['log_priority']) { @@ -278,7 +278,7 @@ class app { die('Unable to open logfile.'); } - if(!fwrite($fp, $log_msg . '\r\n')) { + if(!fwrite($fp, $log_msg . "\r\n")) { die('Unable to write to logfile.'); }