Rebuild Laysense site with Webman and SQLite CMS

This commit is contained in:
2026-11-21 17:29:24 +08:00
commit d9bda755d1
99 changed files with 4280 additions and 0 deletions
+14
View File
@@ -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',
];