- Fixed a permission problem when creating cache folder
This commit is contained in:
parent
84e3b91199
commit
1683435d5d
|
@ -41,7 +41,7 @@ class PhpReader implements ReaderInterface {
|
|||
$path = $this->pathList[0];
|
||||
|
||||
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) . ";");
|
||||
|
|
Loading…
Reference in New Issue