From acad800b75b5cb590b2c1db8080c2dda0aaa1979 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 16 Sep 2017 11:30:13 +0200 Subject: wip Signed-off-by: Florian Pritz --- public_html/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'public_html/index.php') diff --git a/public_html/index.php b/public_html/index.php index 1bc7408f5..71f040ffb 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -317,7 +317,11 @@ switch (ENVIRONMENT) require APPPATH.'libraries/ExceptionHandler.php'; \libraries\ExceptionHandler::setup(); -// wrapper for CI so that it calls our handler rather than it's own +// wrapper for CI so that it calls our handlers rather than it's own +function _error_handler($severity, $message, $filepath, $line) { + return \libraries\ExceptionHandler::error_handler($severity, $message, $filepath, $line); +} + function _exception_handler($ex) { return \libraries\ExceptionHandler::exception_handler($ex); } -- cgit v1.2.3-24-g4f1b