rabin 3 years ago
parent
commit
cb41a763a3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Database.php

+ 2 - 1
src/Database.php

@@ -1855,7 +1855,8 @@ class Database
                         }
                     }
                 }
-                if ((Dever::load('manage/auth.oper', 3) != false || Dever::load('manage/auth.oper', 5) != false) && isset($config['manage']['_list']['value'])) {
+                //if ((Dever::load('manage/auth.oper', 3) != false || Dever::load('manage/auth.oper', 5) != false) && isset($config['manage']['_list']['value'])) {
+                if (isset($config['manage']['_list']['value']) {
                     if ($type == 'layui') {
                         $layui = array
                         (