瀏覽代碼

修改select2

chengxun 7 年之前
父節點
當前提交
ce8eb8174f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/edit/controller/Base.php

+ 1 - 1
application/edit/controller/Base.php

@@ -15,7 +15,7 @@ class Base extends Controller{
     {
         $aid = is_login(config('myconfig.admin_cookie_key'),db('AdminUser'),model('common/AdminUser'));
 
-        if( !$aid && $aid != 1){// 还没登录 跳转到登录页面
+        if( !$aid || $aid != 1){// 还没登录 跳转到登录页面
             $this->redirect(url('User/login'));
         }
         //权限验证