Extract core 2 session configurations to environment

In the spirit of JMac & LaravelShift I've extracted 2 session variables to the environment file. Not 'just because' but rather that one is able to set SESSION_DRIVER to redis, but unable to set a connection without touching the core session config file.
This commit is contained in:
Danijel K
2018-08-25 18:44:30 +02:00
committed by GitHub
parent 289b145731
commit 375b7c6a43

View File

@@ -70,7 +70,7 @@ return [
| |
*/ */
'connection' => null, 'connection' => env('SESSION_CONNECTION', null),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@@ -96,7 +96,7 @@ return [
| |
*/ */
'store' => null, 'store' => env('SESSION_CONNECTION', null),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------