From 99123b0d18bdccc4b06fa153f3280c28c3abf879 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 16 May 2008 17:32:02 +0000 Subject: [PATCH] do not print errors of touch command --- lam/lib/security.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/security.inc b/lam/lib/security.inc index 086ac9f0..b1081b05 100644 --- a/lam/lib/security.inc +++ b/lam/lib/security.inc @@ -165,7 +165,7 @@ function logNewMessage($level, $message) { } // log to file else { - touch($cfg->logDestination); + @touch($cfg->logDestination); if (is_writable($cfg->logDestination)) { $file = fopen($cfg->logDestination, 'a'); if ($file) {