Permalink
Browse files

Changes error reporting level to explicitly exclude E_DREPRECATED and…

… E_STRICT, rather than xor.
  • Loading branch information...
simonwelsh committed Oct 28, 2011
1 parent cf408d7 commit 5ad5dfc7ed703b77df51bba8a15c34ff1ff041aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/Core.php
View
@@ -40,7 +40,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

0 comments on commit 5ad5dfc

Please sign in to comment.