2015-02-06 04:39:52 +01:00
|
|
|
<?php
|
2016-10-05 06:52:15 +02:00
|
|
|
/**
|
|
|
|
* session.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2017-04-09 07:56:46 +02:00
|
|
|
declare(strict_types=1);
|
2016-05-20 08:57:45 +02:00
|
|
|
|
|
|
|
|
2015-02-06 04:39:52 +01:00
|
|
|
return [
|
2017-01-03 20:02:48 +01:00
|
|
|
'driver' => env('SESSION_DRIVER', 'file'),
|
|
|
|
'lifetime' => 120,
|
2015-06-27 08:06:24 +02:00
|
|
|
'expire_on_close' => false,
|
2017-01-03 20:02:48 +01:00
|
|
|
'encrypt' => true,
|
|
|
|
'files' => storage_path('framework/sessions'),
|
|
|
|
'connection' => null,
|
|
|
|
'table' => 'sessions',
|
|
|
|
'store' => null,
|
|
|
|
'lottery' => [2, 100],
|
|
|
|
'cookie' => 'firefly_session',
|
|
|
|
'path' => env('COOKIE_PATH', '/'),
|
|
|
|
'domain' => env('COOKIE_DOMAIN', null),
|
|
|
|
'secure' => env('COOKIE_SECURE', false),
|
|
|
|
'http_only' => true,
|
2015-02-06 04:39:52 +01:00
|
|
|
];
|