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:
parent
f08cbc73de
commit
dec9d24392
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user