ソースを参照

修改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'));
         }
         //权限验证