From e615265d3b51e27f0f664cea193b6353975d6f7d Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 29 Aug 2011 04:25:44 -0400
Subject: [PATCH] Fixed php notice in session library.

---
 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