mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-24 15:18:40 +00:00
Fix directory creation
This commit is contained in:
parent
e34f0fe715
commit
dc5936565e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user