From 57d2f202553cf180d92905d267a22d9554e2d00b Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Wed, 18 Dec 2024 16:48:32 +0300 Subject: [PATCH] some --- kernel/services/KernelService.php | 5 +++++ 1 file changed, 5 insertions(+) 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); }