mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 23:08:41 +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)
|
public function __construct(string $path)
|
||||||
{
|
{
|
||||||
if (!Directory::exists(File::parent($path))) {
|
if (!Directory::exists(File::parent($path))) {
|
||||||
Directory::create($path);
|
Directory::create($path, 0664, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->cachePath = realpath($path);
|
$this->cachePath = realpath($path);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user