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
|
// log to file
|
||||||
else {
|
else {
|
||||||
touch($cfg->logDestination);
|
@touch($cfg->logDestination);
|
||||||
if (is_writable($cfg->logDestination)) {
|
if (is_writable($cfg->logDestination)) {
|
||||||
$file = fopen($cfg->logDestination, 'a');
|
$file = fopen($cfg->logDestination, 'a');
|
||||||
if ($file) {
|
if ($file) {
|
||||||
|
|
Loading…
Reference in New Issue