Rebuild Laysense site with Webman and SQLite CMS
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'type' => 'file',
|
||||
'handler' => Webman\Session\FileSessionHandler::class,
|
||||
'config' => ['file' => ['save_path' => runtime_path() . '/sessions']],
|
||||
'session_name' => 'LAYSENSE_CMS',
|
||||
'lifetime' => 8 * 60 * 60,
|
||||
'cookie_lifetime' => 0,
|
||||
'cookie_path' => '/admin',
|
||||
'http_only' => true,
|
||||
'secure' => getenv('LAYSENSE_SECURE_COOKIES') !== '0',
|
||||
'same_site' => 'Lax',
|
||||
];
|
||||
Reference in New Issue
Block a user