From 39500328f46917be51bcc74fd52143ba7f9699ca Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 9 Jul 2022 20:09:25 +0300 Subject: logging: fix setperm() call --- engine/logging.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/logging.php') diff --git a/engine/logging.php b/engine/logging.php index f77a5fa..1bc946b 100644 --- a/engine/logging.php +++ b/engine/logging.php @@ -143,7 +143,7 @@ class logging { fclose($f); if ($set_perm) - setperm($f); + setperm(self::$logFile); } protected static function getPhpErrorName(int $errno): string { -- cgit v1.2.3