Skip to content

Commit

Permalink
Merge pull request pelican-dev#336 from Boy132/fix/default-database-path
Browse files Browse the repository at this point in the history
Use env value instead of config value for database path
  • Loading branch information
notAreYouScared authored Jun 6, 2024
2 parents dc3da2d + d245751 commit e3699f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit e3699f3

Please sign in to comment.