From 764585c03f3af1e2146d3cc87c5ce245b0ac1d25 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 06 Oct 2010 09:10:24 -0400 Subject: [PATCH] Several opensuse related fixes. --- server/lib/app.inc.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/app.inc.php b/server/lib/app.inc.php index 0a6778e..fc2397c 100644 --- a/server/lib/app.inc.php +++ b/server/lib/app.inc.php @@ -127,10 +127,10 @@ break; } - if (!fwrite($fp, date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\r\n")) { + if (!fwrite($fp, @date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\r\n")) { die('Unable to write to logfile.'); } - echo date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\n"; + echo @date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\n"; fclose($fp); // Log to database -- Gitblit v1.9.1