mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 15:11:40 +02:00
[ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.
PHPBB3-10040
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user