diff --git a/.env.example b/.env.example index ffddf4b..e54c0b7 100644 --- a/.env.example +++ b/.env.example @@ -20,4 +20,4 @@ MAIL_SMTP_PASSWORD=somepassword MODULE_SHOP_URL='http://igfs.loc' MODULE_SHOP_TOKEN='your token' -SECRET_KEY='' \ No newline at end of file +SECRET_KEY='key' \ No newline at end of file diff --git a/kernel/services/KernelService.php b/kernel/services/KernelService.php index d6b8d3a..1d09273 100644 --- a/kernel/services/KernelService.php +++ b/kernel/services/KernelService.php @@ -81,6 +81,7 @@ class KernelService $this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap'); } copy($tmpKernelDirFull . $file , ROOT_DIR . '/' . $file); + chmod(ROOT_DIR . '/' . $file, 0775); } $this->files->recursiveRemoveDir($tmpKernelDirFull);