diff --git a/application/admin/controller/Role.php b/application/admin/controller/Role.php deleted file mode 100644 index d27d053f2..000000000 --- a/application/admin/controller/Role.php +++ /dev/null @@ -1,34 +0,0 @@ - - * @date 2017/02/15 18:14 - */ -class Role extends BasicAdmin { - - protected $table = 'SystemRole'; - - public function index() { - parent::_list($this->table); - } - -} diff --git a/application/admin/model/Node.php b/application/admin/model/Node.php index 8e998890f..214c1fc08 100644 --- a/application/admin/model/Node.php +++ b/application/admin/model/Node.php @@ -37,6 +37,9 @@ class Node { $alias["{$vo['node']}"] = $vo; } foreach (self::getNodeTree(APP_PATH) as $thr) { + if (stripos($thr, 'admin/plugs') === 0 && stripos($thr, 'admin/index')) { + continue; + } $tmp = explode('/', $thr); $one = $tmp[0]; $two = "{$tmp[0]}/{$tmp[1]}";