소스 검색

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())) {