This commit is contained in:
Билай Станислав 2024-12-18 16:48:32 +03:00
parent 5d671d03d2
commit 57d2f20255

View File

@ -80,6 +80,11 @@ class KernelService
$this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap'); $this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap');
$this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , 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); copy($tmpKernelDirFull . $file , ROOT_DIR . '/' . $file);
chmod(ROOT_DIR . '/' . $file, 0775); chmod(ROOT_DIR . '/' . $file, 0775);
} }