Added #6463 - ability to override session path in .env

This commit is contained in:
snipe 2018-12-05 17:17:11 -08:00
parent dd7db95135
commit 9f73fcf308
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@ ENCRYPT=false
COOKIE_NAME=snipeit_session
COOKIE_DOMAIN=null
SECURE_COOKIES=false
SESSION_PATH=null
# --------------------------------------------
# OPTIONAL: SECURITY HEADER SETTINGS

View file

@ -67,7 +67,7 @@ return [
|
*/
'files' => storage_path('framework/sessions'),
'files' => (env('SESSION_PATH')!='' ? env('SESSION_PATH') : storage_path('framework/sessions')),
/*
|--------------------------------------------------------------------------