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
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env php
<?php
declare(strict_types=1);
chdir(__DIR__);
require __DIR__ . '/vendor/autoload.php';
$sessionPath = __DIR__ . '/runtime/sessions';
if (!is_dir($sessionPath) && !mkdir($sessionPath, 0750, true) && !is_dir($sessionPath)) {
throw new RuntimeException('无法创建会话目录。');
}
ini_set('session.save_path', $sessionPath);
support\App::run();