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
9ffa903d50
commit
0f91fb865b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user