Update Installer.php

This commit is contained in:
Shlee 2022-06-16 10:06:47 +09:30 committed by GitHub
parent 51eeb26185
commit 56ebd8c06c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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