From 1245d8fae9e31dd43ddeddaa5cd9a9bb790cebf5 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 7 Jul 2017 16:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BRouteNotFound=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/exception/RouteNotFoundException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/exception/RouteNotFoundException.php b/library/think/exception/RouteNotFoundException.php index f85a3c4b..d22e3a63 100644 --- a/library/think/exception/RouteNotFoundException.php +++ b/library/think/exception/RouteNotFoundException.php @@ -16,7 +16,7 @@ class RouteNotFoundException extends HttpException public function __construct() { - parent::__construct(404); + parent::__construct(404, 'Route Not Found'); } }