diff --git a/application/index/controller/Common.php b/application/index/controller/Common.php index ef47824dc..8a54bb9a0 100755 --- a/application/index/controller/Common.php +++ b/application/index/controller/Common.php @@ -212,10 +212,10 @@ class Common extends Controller $default_theme = strtolower(MyC('common_default_theme', 'default', true)); $this->assign('default_theme', $default_theme); - // 当前操作名称, 兼容插件模块名称 - $module_name = empty($params['pluginsname']) ? strtolower(request()->module()) : $params['pluginsname']; - $controller_name = empty($params['pluginscontrol']) ? strtolower(request()->controller()) : $params['pluginscontrol']; - $action_name = empty($params['pluginsaction']) ? strtolower(request()->action()) : $params['pluginsaction']; + // 当前操作名称, 兼容插件模块名称 + $module_name = strtolower(request()->module()); + $controller_name = strtolower(request()->controller()); + $action_name = strtolower(request()->action()); // 当前操作名称 $this->assign('module_name', $module_name); diff --git a/application/index/view/default/public/user_menu.html b/application/index/view/default/public/user_menu.html index a7df6f021..19b4a3dd6 100755 --- a/application/index/view/default/public/user_menu.html +++ b/application/index/view/default/public/user_menu.html @@ -6,7 +6,7 @@ {{foreach $user_left_menu as $k=>$v}} {{if $v.is_show eq 1}} {{if empty($v['item'])}} -
  • +
  • {{if !empty($v['icon'])}}{{/if}} {{$v.name}}
  • {{else /}} @@ -15,7 +15,7 @@