更换Auth
This commit is contained in:
1 parent
1583d1c2f3
commit
8a8da73f63
2 files changed
+5
-4
No files matched your search
@@ -24,7 +24,7 @@
|
||||
<body>
|
||||
<!-- 顶部开始 -->
|
||||
<div class="container">
|
||||
<div class="logo"><a href="./index.html">{php}echo session('webtitle'){/php} v{$list.version}</a></div>
|
||||
<div class="logo"><a href="/">{php}echo session('webtitle'){/php} v{$list.version}</a></div>
|
||||
<div class="left_open">
|
||||
<i title="展开左侧栏" class="iconfont"></i>
|
||||
</div>
|
||||
|
||||
@@ -25,13 +25,13 @@ class Auth
|
||||
$act = strtolower($request->action());
|
||||
$url = $mod.'/'.$con.'/'.$act;
|
||||
|
||||
// 排除模块
|
||||
$uneed_m = array('home');
|
||||
// 排除应用
|
||||
$uneed_m = array('index');
|
||||
// 排除控制器
|
||||
$uneed_c = array(); # 荣誉器名首字母要大写
|
||||
// 排除方法
|
||||
$uneed_a = array(
|
||||
'welcome','upload','myinfo',
|
||||
'upload','myinfo',
|
||||
'mybanji','banjilist',
|
||||
'editpassword','updatepassword',
|
||||
// 教师信息查询
|
||||
@@ -58,6 +58,7 @@ class Auth
|
||||
$except = false;
|
||||
}
|
||||
|
||||
|
||||
$auth = new AuthHandle;
|
||||
// $jump = new Jump;
|
||||
|
||||
|
||||
Reference in new issue
Block a user