1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.

PHPBB3-10040
This commit is contained in:
Nils Adermann 2011-03-07 16:25:52 +01:00
parent f08cbc73de
commit dec9d24392

View File

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