优化特殊页面显示方案

This commit is contained in:
zhaoxiang 2016-11-01 11:04:29 +08:00
parent ecb66d3675
commit 73b5247935
3 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,6 @@ namespace app\admin\controller;
class Index extends Base {
public function index() {
return $this->fetch();
return (new PublicShow())->show_404();
}
}

View File

@ -11,11 +11,11 @@ namespace app\admin\controller;
class PublicShow extends Base {
public function show_404(){
$this->fetch('public/404');
return $this->fetch('public/404');
}
public function show_500(){
$this->fetch('public/500');
return $this->fetch('public/500');
}
public function showBreadcrumb(){

View File

@ -0,0 +1 @@
123123