first commit

This commit is contained in:
2025-01-09 11:57:41 +08:00
commit 700113c47b
47 changed files with 2050 additions and 0 deletions

14
p_1.php Normal file
View File

@ -0,0 +1,14 @@
<?php
// 引入 ACL 文件
include 'acl_list.php';
// 获取角色参数
$role = $_GET['role'] ?? null;
// 检查权限
if ($role && checkAccess($role, 'p_1.php')) {
echo "欢迎光临";
} else {
echo "无权访问";
}
?>