From d245751c979e5885f4a7392b15b147ce4ddf8eb4 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Thu, 6 Jun 2024 11:59:24 +0200 Subject: [PATCH] use env value instead of config value --- app/Console/Commands/Environment/DatabaseSettingsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Environment/DatabaseSettingsCommand.php b/app/Console/Commands/Environment/DatabaseSettingsCommand.php index b06671f54c..bc71a3419a 100644 --- a/app/Console/Commands/Environment/DatabaseSettingsCommand.php +++ b/app/Console/Commands/Environment/DatabaseSettingsCommand.php @@ -98,7 +98,7 @@ public function handle(): int } elseif ($this->variables['DB_CONNECTION'] === 'sqlite') { $this->variables['DB_DATABASE'] = $this->option('database') ?? $this->ask( 'Database Path', - config('database.connections.sqlite.database', 'database.sqlite') + env('DB_DATABASE', 'database.sqlite') ); }