From e61f3a4115c30f527cd5512d0282b1f268b3be4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=BD=A6=E6=96=87?= Date: Mon, 6 Apr 2020 18:29:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA=E5=88=A0?= =?UTF-8?q?=E9=99=A4.env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/command/install/InstallProjectCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/extend/catcher/command/install/InstallProjectCommand.php b/extend/catcher/command/install/InstallProjectCommand.php index 625e956..7e5646a 100644 --- a/extend/catcher/command/install/InstallProjectCommand.php +++ b/extend/catcher/command/install/InstallProjectCommand.php @@ -283,6 +283,7 @@ class InstallProjectCommand extends Command $this->output->warning(sprintf('create database %s failed,you need create database first by yourself', $database)); } } catch (\Exception $e) { + unlink(root_path() . '.env'); $this->output->error($e->getMessage()); exit(0); }