First set of upgrade to 5.3 stuff.

This commit is contained in:
James Cole
2016-09-16 06:19:40 +02:00
parent 3aad78e6ef
commit 3d25fd79ca
54 changed files with 1365 additions and 1044 deletions

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

@@ -87,6 +87,19 @@ return [
'table' => 'sessions',
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| When using the "apc" or "memcached" session drivers, you may specify a
| cache store that should be used for these sessions. This value must
| correspond with one of the application's configured cache stores.
|
*/
'store' => null,
/*
|--------------------------------------------------------------------------
| Session Sweeping Lottery
@@ -150,6 +163,19 @@ return [
|
*/
'secure' => env('COOKIE_SECURE', false),
'secure' => env('COOKIE_SECURE', false),
/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/
'http_only' => !env('COOKIE_SECURE', false),
];