Updated config after upgrade to Laravel 5.2

This commit is contained in:
James Cole
2016-01-08 15:59:21 +01:00
parent 180ec52798
commit 013e16e15f
12 changed files with 271 additions and 151 deletions

71
config/session.php Normal file → Executable file
View File

@@ -2,6 +2,22 @@
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
| Session Lifetime
@@ -13,10 +29,22 @@ return [
|
*/
'lifetime' => 120,
'lifetime' => 120,
'expire_on_close' => false,
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it is stored. All encryption will be run
| automatically by Laravel and you can use the Session like normal.
|
*/
'encrypt' => true,
/*
|--------------------------------------------------------------------------
@@ -29,8 +57,20 @@ return [
|
*/
'files' => storage_path() . '/framework/sessions',
'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------
| Session Database Connection
|--------------------------------------------------------------------------
|
| When using the "database" or "redis" session drivers, you may specify a
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
'connection' => null,
/*
|--------------------------------------------------------------------------
@@ -43,7 +83,7 @@ return [
|
*/
'table' => 'sessions',
'table' => 'sessions',
/*
|--------------------------------------------------------------------------
@@ -56,15 +96,20 @@ return [
|
*/
'lottery' => [2, 100],
'lottery' => [2, 100],
'driver' => env('SESSION_DRIVER', 'database'),
'cookie' => 'firefly_session',
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the cookie used to identify a session
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
'connection' => env('DB_CONNECTION', 'mysql'),
'encrypt' => true,
'cookie' => 'firefly_session',
/*
|--------------------------------------------------------------------------
@@ -77,7 +122,7 @@ return [
|
*/
'path' => '/',
'path' => '/',
/*
|--------------------------------------------------------------------------
@@ -90,7 +135,7 @@ return [
|
*/
'domain' => null,
'domain' => null,
/*
|--------------------------------------------------------------------------
@@ -103,6 +148,6 @@ return [
|
*/
'secure' => false,
'secure' => true,
];