some fix
This commit is contained in:
@ -162,6 +162,11 @@ class ThemeService
|
||||
if ($ThemePaths) {
|
||||
$path = json_decode($ThemePaths->value);
|
||||
foreach ($path->paths as $p) {
|
||||
if (!is_dir(getConst($p))){
|
||||
$old_mask = umask(0);
|
||||
mkdir(getConst($p), permissions: 0775, recursive: true);
|
||||
umask($old_mask);
|
||||
}
|
||||
$dirs[] = getConst($p);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user