Skip to content

Commit

Permalink
uncommented exception and error handler in core. This was a developme…
Browse files Browse the repository at this point in the history
…nt oversight and was resulting in meager error display during debugger output.
  • Loading branch information
negative11 committed Jun 26, 2012
1 parent 7e5cab4 commit a42fdb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/core/core.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public static function initialize()
spl_autoload_register('Core::autoload'); spl_autoload_register('Core::autoload');


// Set custom error/exception handlers // Set custom error/exception handlers
//set_error_handler(array('Error', 'handler')); set_error_handler(array('Error', 'handler'));
//set_exception_handler(array('Error', 'handler')); set_exception_handler(array('Error', 'handler'));
register_shutdown_function(array(__CLASS__, 'shutdown')); register_shutdown_function(array(__CLASS__, 'shutdown'));


// Provide framework with a session. // Provide framework with a session.
Expand Down

0 comments on commit a42fdb2

Please sign in to comment.