This repository has been archived on 2023-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
2022-05-08 02:37:00 +08:00

12 lines
231 B
PHP

<?PHP
// 开启session
session_start();
// 禁用错误报告
error_reporting(0);
// 检测
// 登陆检测
if (isset($_COOKIE["uid"])==False) {
header("location:auth.php");
} else {
header("location:./teacherbasic.php");
}