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

This commit is contained in:
Simon Welsh 2011-10-29 10:28:18 +13:00
parent cf408d766a
commit 5ad5dfc7ed

View File

@ -40,7 +40,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