From 56ebd8c06ca7867e40dc18ebe42f2cba376a405c Mon Sep 17 00:00:00 2001 From: Shlee Date: Thu, 16 Jun 2022 10:06:47 +0930 Subject: [PATCH] Update Installer.php --- app/Console/Commands/Installer.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Console/Commands/Installer.php b/app/Console/Commands/Installer.php index 61632d3cc..f6b8b7373 100644 --- a/app/Console/Commands/Installer.php +++ b/app/Console/Commands/Installer.php @@ -111,12 +111,6 @@ class Installer extends Command protected function envCreate() { - if( $this->option('dangerously-overwrite-env') ) { - $this->line(''); - $this->error('Existing .env File Found - Renaming to .env.danger'); - exec('cp .env .env.danger'); - } - $this->line(''); $this->info('Creating .env if required'); if(!file_exists(app()->environmentFilePath())) {