Add check for null env and attempt to recover

This commit is contained in:
2020-07-09 09:07:49 +01:00
parent 635f8593d3
commit 4deb882d23
2 changed files with 21 additions and 3 deletions

View File

@@ -79,7 +79,6 @@ class Install extends Command
$this->info('>> Configuring application - We\'re going to ask a few questions here!');
do
{
$this->call('config:clear');
$this->info('== Database Settings (1/6) ==');
$settings['DB_USERNAME'] = $this->ask('Database username');
@@ -116,7 +115,6 @@ class Install extends Command
'value' => $value
]);
}
$this->call('config:cache');
$this->info('>> Saved configuration settings!');
$this->info('>> Preparing database...');