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/install | |
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/install')
-rw-r--r-- | phpBB/install/database_update.php | 2 | ||||
-rw-r--r-- | phpBB/install/index.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 01048520d2..3d32a82cc6 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -35,7 +35,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); error_reporting(E_ALL); @set_time_limit(0); diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 49c99da0d7..bace22f177 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -23,7 +23,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); // @todo Review this test and see if we can find out what it is which prevents PHP 4.2.x from even displaying the page with requirements on it if (version_compare(PHP_VERSION, '4.3.3') < 0) |