aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-05-11 03:51:34 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-05-11 03:56:15 +0200
commit5a4a1e3c25b0e10a3ce008dc2eded29decb0f469 (patch)
treea2f50684524fbf3c6ea3c4d41ad73611e1682479 /phpBB/style.php
parent7faabfb532677caadfeee07158a8d14f2e4468e7 (diff)
downloadforums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.gz
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.bz2
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.xz
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.zip
[ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 8ca1751391..f3e1b4c89e 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -20,7 +20,7 @@ if (!defined('E_DEPRECATED'))
{
define('E_DEPRECATED', 8192);
}
-error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
+error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
require($phpbb_root_path . 'config.' . $phpEx);