diff --git a/kernel/manifest.json b/kernel/manifest.json index 65282d4..3cccfd0 100644 --- a/kernel/manifest.json +++ b/kernel/manifest.json @@ -1,6 +1,6 @@ { "name": "Kernel", - "version": "0.2", + "version": "0.1", "author": "ITGuild", "slug": "kernel", "type": "kernel", diff --git a/kernel/modules/module_shop_client/views/kernel_update.php b/kernel/modules/module_shop_client/views/kernel_update.php index 0bbe204..ca520f4 100644 --- a/kernel/modules/module_shop_client/views/kernel_update.php +++ b/kernel/modules/module_shop_client/views/kernel_update.php @@ -15,7 +15,7 @@ $form->field(\itguild\forms\inputs\Select::class, "files[]", [ ]) ->setLabel("Дополнительные файлы") ->setOptions([ - '.env.example' => '.env.example', + 'env.example' => 'env.example', 'bootstrap.php' => 'bootstrap', 'composer.json' => 'composer.json', ]) diff --git a/kernel/services/KernelService.php b/kernel/services/KernelService.php index 2523b14..d6b8d3a 100644 --- a/kernel/services/KernelService.php +++ b/kernel/services/KernelService.php @@ -75,7 +75,7 @@ class KernelService foreach ($files as $file) { Debug::prn($file); - if ($file === 'bootstrap') { + if ($file === 'bootstrap.php') { Debug::prn(123); $this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap'); $this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap');