do not print errors of touch command
This commit is contained in:
parent
160a5e3c40
commit
99123b0d18
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue