From 8cf272a615c2c4fa12d115c356f54ff9cb5b9a13 Mon Sep 17 00:00:00 2001 From: molong Date: Sat, 7 Oct 2017 21:02:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=A4=E5=A4=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Front.php | 2 +- template/default/user/public/left_nav.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/common/controller/Front.php b/application/common/controller/Front.php index 5efe78f1..dc6a00ba 100644 --- a/application/common/controller/Front.php +++ b/application/common/controller/Front.php @@ -9,7 +9,7 @@ namespace app\common\controller; -class Fornt extends Base { +class Front extends Base { public $wechat_oauth; public function _initialize() { diff --git a/template/default/user/public/left_nav.html b/template/default/user/public/left_nav.html index 056286bd..e216091b 100644 --- a/template/default/user/public/left_nav.html +++ b/template/default/user/public/left_nav.html @@ -1,3 +1,4 @@ +{if !empty($__MENU__)} {volist name="__MENU__" id="submenu"} -{/volist} \ No newline at end of file +{/volist} +{/if} \ No newline at end of file