v0.6测试
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../config.php';
|
||||
|
||||
if (!isset($_SESSION['user_id']) || $_SESSION['user_type'] !== 'student') {
|
||||
header('Location: /index.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
// 重定向到学生端首页的操行分标签
|
||||
header('Location: /student/dashboard.php');
|
||||
exit();
|
||||
|
||||
Reference in New Issue
Block a user