浏览代码

Update Installer.php

Shlee 3 年之前
父节点
当前提交
56ebd8c06c
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      app/Console/Commands/Installer.php

+ 0 - 6
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())) {