summaryrefslogtreecommitdiffstats
path: root/system/core/CodeIgniter.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-09-12 19:10:21 +0200
committerAndrey Andreev <narf@devilix.net>2013-09-12 19:10:21 +0200
commitcf4cbaf121e9a9897ee899d91b10cd2c2668a311 (patch)
tree83f036aa02a322ae631ec850e7c8535130eb82a2 /system/core/CodeIgniter.php
parent824ced49aca4c4b67f13289402aa3ec607819cbb (diff)
parent8ce3134e739c688f2a3ade0d8c792d05d7879a78 (diff)
Merge pull request #2633 from kaiwangchen/simulate_complete_exception_handler
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'))
{