/** * Disable Kohana exception handling. * * @return void */ public static function disable() { if (Kohana_Exception::$enabled) { restore_exception_handler(); Kohana_Exception::$enabled = FALSE; } }