Update Installer.php

pull/3546/head
Shlee 2022-06-15 19:38:40 +09:30 zatwierdzone przez GitHub
rodzic a2090f5445
commit a0bca2668a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -111,6 +111,12 @@ 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())) {