Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes error reporting level to explicitly exclude E_DREPRECATED and…

… E_STRICT, rather than xor.
  • Loading branch information...
commit 0f91fb865b6137ddf9191c3aaf627f0334a5a6d5 1 parent 9ffa903
@simonwelsh simonwelsh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/Core.php
View
2  core/Core.php
@@ -38,7 +38,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
Please sign in to comment.
Something went wrong with that request. Please try again.