do not print errors of touch command

This commit is contained in:
Roland Gruber 2008-05-16 17:32:02 +00:00
parent 160a5e3c40
commit 99123b0d18
1 changed files with 1 additions and 1 deletions

View File

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