Browse Source
try and remove reliance on .env
pull/74/head
v1.1.1
KodeStar
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
config/database.php
|
|
@ -13,7 +13,7 @@ return [ |
|
|
|
| |
|
|
|
*/ |
|
|
|
|
|
|
|
'default' => env('DB_CONNECTION', 'mysql'), |
|
|
|
'default' => env('DB_CONNECTION', 'sqlite'), |
|
|
|
|
|
|
|
/* |
|
|
|
|-------------------------------------------------------------------------- |
|
|
@ -36,7 +36,7 @@ return [ |
|
|
|
'sqlite' => [ |
|
|
|
'driver' => 'sqlite', |
|
|
|
//'database' => env('DB_DATABASE', database_path('database.sqlite')), |
|
|
|
'database' => database_path(env('DB_DATABASE')), |
|
|
|
'database' => database_path(env('DB_DATABASE', 'app.sqlite')), |
|
|
|
'prefix' => '', |
|
|
|
], |
|
|
|
|
|
|
|