2015-02-05 21:39:52 -06:00
|
|
|
<?php
|
2016-10-04 23:52:15 -05: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 00:56:46 -05:00
|
|
|
declare(strict_types=1);
|
2016-05-20 01:57:45 -05:00
|
|
|
|
|
|
|
|
2015-02-05 21:39:52 -06:00
|
|
|
return [
|
2017-01-03 13:02:48 -06:00
|
|
|
'driver' => env('SESSION_DRIVER', 'file'),
|
|
|
|
'lifetime' => 120,
|
2015-06-27 01:06:24 -05:00
|
|
|
'expire_on_close' => false,
|
2017-01-03 13:02:48 -06: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-05 21:39:52 -06:00
|
|
|
];
|