summaryrefslogtreecommitdiffstats
path: root/public_html
diff options
context:
space:
mode:
Diffstat (limited to 'public_html')
-rw-r--r--public_html/index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php
index 71d283abb..f0c099478 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -202,6 +202,11 @@ if (false && defined('ENVIRONMENT'))
require APPPATH.'libraries/ExceptionHandler.php';
\libraries\ExceptionHandler::setup();
+// wrapper for CI so that it calls our handler rather than it's own
+function _exception_handler($severity, $message, $filepath, $line) {
+ return \libraries\ExceptionHandler::error_handler($severity, $message, $filepath, $line);
+}
+
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE