diff --git a/kernel/services/KernelService.php b/kernel/services/KernelService.php index 1d09273..0441ba5 100644 --- a/kernel/services/KernelService.php +++ b/kernel/services/KernelService.php @@ -80,6 +80,11 @@ class KernelService $this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap'); $this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap'); } + if ($file === 'env.example') { + copy($tmpKernelDirFull . $file , ROOT_DIR . '/.' . $file); + chmod(ROOT_DIR . '/.' . $file, 0775); + continue; + } copy($tmpKernelDirFull . $file , ROOT_DIR . '/' . $file); chmod(ROOT_DIR . '/' . $file, 0775); }