- Fixed a permission problem when creating cache folder

This commit is contained in:
Dave M. 2022-05-14 22:08:31 -04:00
parent 84e3b91199
commit 1683435d5d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class PhpReader implements ReaderInterface {
$path = $this->pathList[0]; $path = $this->pathList[0];
if ( ! file_exists($path) ) { if ( ! file_exists($path) ) {
mkdir($path, '0775', true); mkdir($path, '755', true);
} }
return (bool) file_put_contents($path . DIRECTORY_SEPARATOR . "$filepath." . $this->accept[0], "<?php return " . var_export($content, true) . ";"); return (bool) file_put_contents($path . DIRECTORY_SEPARATOR . "$filepath." . $this->accept[0], "<?php return " . var_export($content, true) . ";");