summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-09 20:09:25 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-09 20:09:25 +0300
commit39500328f46917be51bcc74fd52143ba7f9699ca (patch)
tree25042122238d94cc3fd1b8fe18643fe49be90555
parent664ea7f60e19e923348c855997889acbeb5b026a (diff)
logging: fix setperm() call
-rw-r--r--engine/logging.php2
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 {