diff options
-rw-r--r-- | engine/logging.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |