Initial commit: Flutter 无书应用项目

This commit is contained in:
Developer
2026-03-30 02:35:31 +08:00
commit 9175ff9905
566 changed files with 103261 additions and 0 deletions

20
ht/admin.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
/**
* 管理员面板入口
* 检查管理员权限,并跳转到管理后台
*/
// 引入必要文件
require_once 'inc/pubs.php';
// 检查管理员权限
if (!checkAdmin()) {
// 未登录或不是管理员,跳转到登录页
header('Location: login.php');
exit;
}
// 跳转到管理后台首页
header('Location: admin/index.php');
exit;