Skip to content
This repository
Browse code

Changes error reporting level to explicitly exclude E_DREPRECATED and…

… E_STRICT, rather than xor.
  • Loading branch information...
commit 0f91fb865b6137ddf9191c3aaf627f0334a5a6d5 1 parent 9ffa903
Simon Welsh authored August 26, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  core/Core.php
2  core/Core.php
@@ -38,7 +38,7 @@
38 38
 ///////////////////////////////////////////////////////////////////////////////
39 39
 // ENVIRONMENT CONFIG
40 40
 
41  
-if(defined('E_DEPRECATED')) error_reporting(E_ALL ^ E_DEPRECATED);
  41
+if(defined('E_DEPRECATED')) error_reporting(E_ALL & ~(E_DEPRECATED | E_STRICT));
42 42
 else error_reporting(E_ALL);
43 43
 /*
44 44
  * This is for versions of PHP prior to version 5.2

0 notes on commit 0f91fb8

Please sign in to comment.
Something went wrong with that request. Please try again.