Fix directory creation

This commit is contained in:
Dennis Eichhorn 2017-10-01 17:00:14 +02:00
parent e34f0fe715
commit dc5936565e

View File

@ -83,7 +83,7 @@ class FileCache implements CacheInterface
public function __construct(string $path)
{
if (!Directory::exists(File::parent($path))) {
Directory::create($path);
Directory::create($path, 0664, true);
}
$this->cachePath = realpath($path);