Files
laysense.cn/config/session.php
T

15 lines
413 B
PHP

<?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') === '1',
'same_site' => 'Lax',
];