Authored by xiaowei

error页面注释生成静态html代码

@@ -26,10 +26,10 @@ class ErrorController extends AbstractAction @@ -26,10 +26,10 @@ class ErrorController extends AbstractAction
26 26
27 // 设置网站标题 27 // 设置网站标题
28 $this->setTitle('页面不存在'); 28 $this->setTitle('页面不存在');
29 - $this->setNavHeader('抱歉,页面不存在!', true, SITE_MAIN); 29 + $this->setNavHeader('抱歉,页面不存在!', true, true);
30 30
31 // 生成HTML (error.html) 31 // 生成HTML (error.html)
32 - $this->_view->html('error'); 32 +// $this->_view->html('error');
33 // 渲染模板 33 // 渲染模板
34 $this->_view->display('index', array( 34 $this->_view->display('index', array(
35 'pageFooter' => true, 35 'pageFooter' => true,