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