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
+15
View File
@@ -0,0 +1,15 @@
<?php
return [
'webman' => [
'handler' => Webman\App::class,
'listen' => getenv('LAYSENSE_LISTEN') ?: 'http://127.0.0.1:8787',
'count' => max(1, (int) (getenv('LAYSENSE_WORKERS') ?: 2)),
'constructor' => [
'requestClass' => support\Request::class,
'logger' => support\Log::channel('default'),
'appPath' => app_path(),
'publicPath' => public_path(),
],
],
];