From 92430358bf01a52e15b495652de564e70ecdc0c9 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 30 Oct 2020 16:33:32 +0300 Subject: [PATCH] feat(preflight): use Atomastic Filesystem #478 --- src/flextype/preflight.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/preflight.php b/src/flextype/preflight.php index 7037c4db..3ba77d60 100644 --- a/src/flextype/preflight.php +++ b/src/flextype/preflight.php @@ -10,8 +10,8 @@ $custom_flextype_settings_file_path = PATH['project'] . '/config/flextype/setti $preflight_flextype_path = PATH['tmp'] . '/preflight/flextype/'; $custom_flextype_settings_path = PATH['project'] . '/config/flextype/'; -! filesystem()->file($preflight_flextype_path)->exists() and filesystem()->directory($preflight_flextype_path)->create(); -! filesystem()->file($custom_flextype_settings_path)->exists() and filesystem()->directory($custom_flextype_settings_path)->create(); +! filesystem()->file($preflight_flextype_path)->exists() and filesystem()->directory($preflight_flextype_path)->create(0755, true); +! filesystem()->file($custom_flextype_settings_path)->exists() and filesystem()->directory($custom_flextype_settings_path)->create(0755, true); $f1 = file_exists($flextype_manifest_file_path) ? filemtime($flextype_manifest_file_path) : ''; $f2 = file_exists($default_flextype_settings_file_path) ? filemtime($default_flextype_settings_file_path) : '';