logging: fix setperm() call

This commit is contained in:
Evgeny Zinoviev 2022-07-09 20:09:25 +03:00
parent 664ea7f60e
commit 39500328f4

View File

@ -143,7 +143,7 @@ class logging {
fclose($f);
if ($set_perm)
setperm($f);
setperm(self::$logFile);
}
protected static function getPhpErrorName(int $errno): string {