summaryrefslogtreecommitdiffstats
path: root/public_html/index.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-16 11:30:13 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-16 11:30:13 +0200
commitacad800b75b5cb590b2c1db8080c2dda0aaa1979 (patch)
tree012308d7891a8beb6fa43b3b91d508e03ee6d9f0 /public_html/index.php
parent19f0aab3221dd7760387cbec745c1eca9b215af7 (diff)
wip
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'public_html/index.php')
-rw-r--r--public_html/index.php6
1 files changed, 5 insertions, 1 deletions
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);
}