diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-05-11 03:51:34 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-05-11 03:56:15 +0200 |
commit | 5a4a1e3c25b0e10a3ce008dc2eded29decb0f469 (patch) | |
tree | a2f50684524fbf3c6ea3c4d41ad73611e1682479 /phpBB/download | |
parent | 7faabfb532677caadfeee07158a8d14f2e4468e7 (diff) | |
download | forums-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/download')
-rw-r--r-- | phpBB/download/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index e1ec835b9b..ed5c4f55b8 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -35,7 +35,7 @@ if (isset($_GET['avatar'])) { 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); |