Skip to content

Commit 9cee0e6

Browse files
committed
update default cache and session drivers to database
1 parent 41c572e commit 9cee0e6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
*/
143143

144144
'maintenance' => [
145-
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
146-
'store' => env('APP_MAINTENANCE_STORE', 'redis'),
145+
'driver' => env('APP_MAINTENANCE_DRIVER', 'cache'),
146+
'store' => env('APP_MAINTENANCE_STORE', 'database'),
147147
],
148148

149149
/*

config/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|
1616
*/
1717

18-
'default' => env('CACHE_STORE', 'file'),
18+
'default' => env('CACHE_STORE', 'database'),
1919

2020
/*
2121
|--------------------------------------------------------------------------

config/session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
|
1212
| This option controls the default session "driver" that will be used by
1313
| incoming requests. Laravel supports a variety of storage drivers to
14-
| choose from for session storage. File storage is used by default.
14+
| choose from for session storage. Database storage is the default.
1515
|
1616
| Supported: "file", "cookie", "database", "apc",
1717
| "memcached", "redis", "dynamodb", "array"
1818
|
1919
*/
2020

21-
'driver' => env('SESSION_DRIVER', 'file'),
21+
'driver' => env('SESSION_DRIVER', 'database'),
2222

2323
/*
2424
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)