From 7a1b8f471ca133b6ca99cd4e440e6614a7c18537 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 05:11:57 +0200 Subject: Methods "error403" and "error404" has been added to the "Application" class; several files has been changed. --- core/namespace/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/Router.php') diff --git a/core/namespace/Router.php b/core/namespace/Router.php index f0e7e2a..b6221d1 100644 --- a/core/namespace/Router.php +++ b/core/namespace/Router.php @@ -57,7 +57,7 @@ class Router { } if($route_found === FALSE) { - require_once ROOT.'404.php'; + Application::error404(); } } } -- cgit v1.2.3