diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 21add941e..7bdbf9b23 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -21,7 +21,7 @@ class HomeController extends Controller /* 空操作,用于输出404页面 */ public function _empty() { - $this->redirect('Index/index'); + $this->redirect('Index/404'); } protected function _initialize() diff --git a/Application/Home/View/default/Index/404.html b/Application/Home/View/default/Index/404.html new file mode 100644 index 000000000..910b8e0fa --- /dev/null +++ b/Application/Home/View/default/Index/404.html @@ -0,0 +1,30 @@ + + + + +404 + + + + + +
+ + +
+
+ +检查浏览器中输入的地址是否正确 + +
+ + diff --git a/Public/Home/images/404/bj.png b/Public/Home/images/404/bj.png new file mode 100644 index 000000000..471325116 Binary files /dev/null and b/Public/Home/images/404/bj.png differ diff --git a/Public/Home/images/404/return.png b/Public/Home/images/404/return.png new file mode 100644 index 000000000..713a21709 Binary files /dev/null and b/Public/Home/images/404/return.png differ diff --git a/Public/Home/images/404/words.png b/Public/Home/images/404/words.png new file mode 100644 index 000000000..d2f0262f2 Binary files /dev/null and b/Public/Home/images/404/words.png differ diff --git a/Public/Home/images/404/yun.png b/Public/Home/images/404/yun.png new file mode 100644 index 000000000..b822ec6d4 Binary files /dev/null and b/Public/Home/images/404/yun.png differ