diff --git a/application/admin/controller/PublicShow.php b/application/admin/controller/PublicShow.php index 76c04ab..daa505b 100644 --- a/application/admin/controller/PublicShow.php +++ b/application/admin/controller/PublicShow.php @@ -11,6 +11,7 @@ namespace app\admin\controller; class PublicShow extends Base { public function show_404(){ + $this->assign('title', '页面丢失了!'); return $this->fetch('public/404'); } diff --git a/application/admin/view/public/404.html b/application/admin/view/public/404.html index 93a5f6a..9254f3e 100644 --- a/application/admin/view/public/404.html +++ b/application/admin/view/public/404.html @@ -1 +1,26 @@ -123123 \ No newline at end of file +{extend name="public/base" /} +{block name="main"} +
+ We could not find the page you were looking for. + Meanwhile, you may return to dashboard or try using the search form. +
+ + +