summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-30 21:26:14 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-30 21:26:14 +0100
commit76160bc9ea5f0f4c653300231e34faa445342d83 (patch)
treee60de73f4b4860bd3f17b26f2620923ec6207e2b /system/core
parent84c090162f277ccd47a78886a1c9295add96e752 (diff)
Previous 2 commits were just dumb
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index cfc63c2aa..e5dd84369 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -598,14 +598,14 @@ if ( ! function_exists('_exception_handler'))
return;
}
+ $_error->log_exception($severity, $message, $filepath, $line);
+
// Should we display the error?
if ((bool) ini_get('display_errors') === TRUE)
{
$_error->show_php_error($severity, $message, $filepath, $line);
}
- $_error->log_exception($severity, $message, $filepath, $line);
-
// If the error is fatal, the execution of the script should be stopped because
// errors can't be recovered from. Halting the script conforms with PHP's
// default error handling. See http://www.php.net/manual/en/errorfunc.constants.php