commit | 21fe9daf1cdc86cbd8800515166e19b2f8879b71 | [log] [tgz] |
---|---|---|
author | Kaiwang Chen <kaiwang.chen@gmail.com> | Wed Sep 11 13:09:41 2013 +0800 |
committer | Kaiwang Chen <kaiwang.chen@gmail.com> | Wed Sep 11 13:09:41 2013 +0800 |
tree | 0bc9cad2bdb1a47c62df87b5716098a8d14b4a60 | |
parent | 4013be3d0953612ce081802bb6cc331338d8f58a [diff] [blame] |
Simulate a complete custom exception handler by redirecting uncaught events.
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index c962fda..67c94cf 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php
@@ -73,6 +73,7 @@ * ------------------------------------------------------ */ set_error_handler('_exception_handler'); + register_shutdown_function('_shutdown_handler'); if ( ! is_php('5.4')) {