Use 0775 rather than 0755 for folder permissions
This commit is contained in:
1 parent
bda32d8632
commit
c783e030ba
1 file changed
+1
-1
@@ -81,7 +81,7 @@ final public function setFileLogging(bool $input = false):void {
|
||||
$this->_file_logging = $input;
|
||||
|
||||
if ($this->_file_logging === true) {
|
||||
if (!\is_dir(__DIR__ . "/../logs")) mkdir(__DIR__ . "/../logs", 0755);
|
||||
if (!\is_dir(__DIR__ . "/../logs")) mkdir(__DIR__ . "/../logs", 0775);
|
||||
\touch($this->_logfile);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user