mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Load config.session.lifetime from env file
This commit is contained in:
parent
691fdfe1c2
commit
084f100045
@ -15,6 +15,7 @@ DB_PASSWORD=secret
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
QUEUE_DRIVER=sync
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
|
@ -29,7 +29,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'lifetime' => 120,
|
||||
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||
|
||||
'expire_on_close' => false,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user