Merge branch 'ticket/naderman/10040' into develop-olympus

* ticket/naderman/10040:
  [ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.
This commit is contained in:
Andreas Fischer 2011-03-07 16:32:42 +01:00
commit 21c5e6f149

View file

@ -12,6 +12,10 @@ $phpbb_root_path = 'phpBB/';
$phpEx = 'php'; $phpEx = 'php';
$table_prefix = 'phpbb_'; $table_prefix = 'phpbb_';
if (!defined('E_DEPRECATED'))
{
define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL & ~E_DEPRECATED); error_reporting(E_ALL & ~E_DEPRECATED);
// If we are on PHP >= 6.0.0 we do not need some code // If we are on PHP >= 6.0.0 we do not need some code