From 0f91fb865b6137ddf9191c3aaf627f0334a5a6d5 Mon Sep 17 00:00:00 2001 From: simonwelsh Date: Fri, 26 Aug 2011 16:12:57 +1200 Subject: [PATCH] Changes error reporting level to explicitly exclude E_DREPRECATED and E_STRICT, rather than xor. --- core/Core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Core.php b/core/Core.php index a648c3106..8b24cc106 100755 --- a/core/Core.php +++ b/core/Core.php @@ -38,7 +38,7 @@ /////////////////////////////////////////////////////////////////////////////// // ENVIRONMENT CONFIG -if(defined('E_DEPRECATED')) error_reporting(E_ALL ^ E_DEPRECATED); +if(defined('E_DEPRECATED')) error_reporting(E_ALL & ~(E_DEPRECATED | E_STRICT)); else error_reporting(E_ALL); /* * This is for versions of PHP prior to version 5.2