v2.1.20-20260525

This commit is contained in:
tznb committed 2026-05-27 15:50:40 +08:00
1 parent c2d9c29484
commit efc93b8719
9 files changed
+35 -12

No files matched your search

+5
View File
@@ -103,6 +103,11 @@ if($page === 'edit_link' && !empty($_GET['id'])){
exit;
}
// 备用管理入口(用于解决老薛主机默认拦截关键字root的问题)
if(preg_match('/^gl\//', $page)){
$page = preg_replace('/^gl\//', 'root/', $page);
}
//页面文件不存在时载入404
if(!empty($page)){
if(!is_file(DIR.'/templates/admin/page/'.$page.'.php')){