Browse Source

Update userlogin.class.php

tags/6.2.5
叙述、别离 2 years ago
parent
commit
8ee3c86cdc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/userlogin.class.php

+ 2
- 2
src/system/userlogin.class.php View File

@@ -53,7 +53,7 @@ function TestPurview($n)
function CheckPurview($n) function CheckPurview($n)
{ {
if (!TestPurview($n)) { if (!TestPurview($n)) {
ShowMsg("您没有权限执行此操作<br><br><a href='javascript:history.go(-1);'>点击返回上一页</a>", 'javascript:;');
ShowMsg("您没有权限进行此操作", "-1");
exit(); exit();
} }
} }
@@ -89,7 +89,7 @@ function CheckCatalog($cid, $msg)
return TRUE; return TRUE;
} }
if (!in_array($cid, $admin_catalogs)) { if (!in_array($cid, $admin_catalogs)) {
ShowMsg(" $msg <br><br><a href='javascript:history.go(-1);'>点击返回上一页</a>", 'javascript:;');
ShowMsg("$msg", "-1");
exit(); exit();
} }
return TRUE; return TRUE;


Loading…
Cancel
Save