diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-05-23 18:26:18 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-05-23 18:26:18 +0200 |
commit | 37294771ef8cdb0c2d4834783ad79a6bdbc96d77 (patch) | |
tree | 0b9d2debc7a3d341112c50752d99a1c8eef3793b | |
parent | e0d54645b59026ac367b7c8bc425d7005480e47d (diff) | |
parent | 94e74bf0f8ae82a28c70fe1a3cb76a01f6c50fd8 (diff) |
Merge pull request #1365 from sourcejedi/e_strict
If we want E_STRICT, don't suppress it.
-rw-r--r-- | system/core/Common.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 8b897776f..4b733ac97 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -487,16 +487,6 @@ if ( ! function_exists('_exception_handler')) */ function _exception_handler($severity, $message, $filepath, $line) { - // We don't bother with "strict" notices since they tend to fill up - // the log file with excess information that isn't normally very helpful. - // For example, if you are running PHP 5 and you use version 4 style - // class functions (without prefixes like "public", "private", etc.) - // you'll get notices telling you that these have been deprecated. - if ($severity == E_STRICT) - { - return; - } - $_error =& load_class('Exceptions', 'core'); // Should we display the error? We'll get the current error_reporting |