Showing
1 changed file
with
2 additions
and
2 deletions
@@ -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, |
-
Please register or login to post a comment