summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}