Changes error reporting level to explicitly exclude E_DREPRECATED and E_STRICT, rather than xor.

This commit is contained in:
simonwelsh 2011-08-26 16:12:57 +12:00
parent 9ffa903d50
commit 0f91fb865b

View File

@ -38,7 +38,7 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// ENVIRONMENT CONFIG // 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); else error_reporting(E_ALL);
/* /*
* This is for versions of PHP prior to version 5.2 * This is for versions of PHP prior to version 5.2