Skip to content

Commit a16c7ae

Browse files
authored
Merge pull request #18 from CakeDC/master
update default sqlite config
2 parents 907c959 + 13c80cf commit a16c7ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/app_local.example.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
*/
4040
'Datasources' => [
4141
'default' => [
42-
'url' => env('DATABASE_URL', 'sqlite://127.0.0.1/cms-tutorial-database.sqlite'),
42+
'driver' => Cake\Database\Driver\Sqlite::class,
43+
'database' => ROOT . DS . 'cms-tutorial-database.sqlite',
44+
'encoding' => 'utf8',
45+
'url' => env('DATABASE_URL'),
4346
],
4447

4548
/*

0 commit comments

Comments
 (0)