mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Changes error reporting level to explicitly exclude E_DREPRECATED and E_STRICT, rather than xor.
This commit is contained in:
parent
cf408d766a
commit
5ad5dfc7ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user