From dd0433cf81fe5329b694a148191f09e427d4a56c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 05:37:03 +0200 Subject: Class "ExceptionHandler" has been removed and several files has been changed. --- core/namespace/Application.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/namespace/Application.php') diff --git a/core/namespace/Application.php b/core/namespace/Application.php index 17cd020..36dd2cd 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -137,11 +137,11 @@ class Application { } #=============================================================================== - # Exit application with a custom HTTP status code + # Exit application with a custom message and status code #=============================================================================== - public static function exit($code = 500) { + public static function exit($message = '', $code = 503) { http_response_code($code); - exit(); + exit($message); } #=============================================================================== -- cgit v1.2.3