summaryrefslogtreecommitdiffstats
path: root/system/core/CodeIgniter.php
diff options
context:
space:
mode:
authorKaiwang Chen <kaiwang.chen@gmail.com>2013-09-11 07:09:41 +0200
committerKaiwang Chen <kaiwang.chen@gmail.com>2013-09-11 07:09:41 +0200
commit21fe9daf1cdc86cbd8800515166e19b2f8879b71 (patch)
tree0bc9cad2bdb1a47c62df87b5716098a8d14b4a60 /system/core/CodeIgniter.php
parent4013be3d0953612ce081802bb6cc331338d8f58a (diff)
Simulate a complete custom exception handler by redirecting uncaught events.
Diffstat (limited to 'system/core/CodeIgniter.php')
-rw-r--r--system/core/CodeIgniter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index c962fda20..67c94cfd1 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -73,6 +73,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* ------------------------------------------------------
*/
set_error_handler('_exception_handler');
+ register_shutdown_function('_shutdown_handler');
if ( ! is_php('5.4'))
{