diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:09:25 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:09:25 +0300 |
commit | 39500328f46917be51bcc74fd52143ba7f9699ca (patch) | |
tree | 25042122238d94cc3fd1b8fe18643fe49be90555 /engine | |
parent | 664ea7f60e19e923348c855997889acbeb5b026a (diff) |
logging: fix setperm() call
Diffstat (limited to 'engine')
-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 { |