mirror of
https://github.com/tznb1/TwoNav.git
synced 2026-11-29 08:10:27 +00:00
v2.1.20-20260525
This commit is contained in:
1 parent
c2d9c29484
commit
efc93b8719
9 files changed
+35
-12
No files matched your search
@@ -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')){
|
||||
|
||||
Reference in new issue
Block a user