diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-07 14:35:51 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-07 14:35:51 +0100 |
commit | ff6d1a80b75eb4303551be1f2708509757a85e50 (patch) | |
tree | c84c6a397341c462f02aa236d2c406944ff20386 /system/core/Common.php | |
parent | 664b83e1d023e067d3b9bc75dbe96161236fd5f7 (diff) | |
parent | c697a3bfdfc301718058a09fd5692fbecee6920a (diff) |
Merge branch 'develop' into 'feature/user-guide-cleanup'
Diffstat (limited to 'system/core/Common.php')
-rw-r--r-- | system/core/Common.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index cfc63c2aa..07f0c6dfd 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 @@ -756,6 +756,11 @@ if ( ! function_exists('function_usable')) * *suhosin.executor.disable_eval*. These settings will just * terminate script execution if a disabled function is executed. * + * The above described behavior turned out to be a bug in Suhosin, + * but even though a fix was commited for 0.9.34 on 2012-02-12, + * that version is yet to be released. This function will therefore + * be just temporary, but would probably be kept for a few years. + * * @link http://www.hardened-php.net/suhosin/ * @param string $function_name Function to check for * @return bool TRUE if the function exists and is safe to call, |