Skip to content

Commit

Permalink
Merge pull request laravel#4413 from adrianharabula/master
Browse files Browse the repository at this point in the history
Use database_path helper for sqlite database filename specified in .env
  • Loading branch information
taylorotwell authored Sep 9, 2017
2 parents 26a0e8d + 982e95b commit d1cfd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'database' => database_path(env('DB_DATABASE', 'database.sqlite')),
'prefix' => '',
],

Expand Down

0 comments on commit d1cfd41

Please sign in to comment.