mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/9983] Add phpbb prefix to global variables.
PHPBB3-9983
This commit is contained in:
@@ -80,8 +80,8 @@ or port must be specified in test configuration. This can be done via
|
|||||||
test_config.php as follows:
|
test_config.php as follows:
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$redis_host = 'localhost';
|
$phpbb_redis_host = 'localhost';
|
||||||
$redis_port = 6379;
|
$phpbb_redis_port = 6379;
|
||||||
|
|
||||||
Or via environment variables as follows:
|
Or via environment variables as follows:
|
||||||
|
|
||||||
|
@@ -92,13 +92,13 @@ class phpbb_test_case_helpers
|
|||||||
$config['phpbb_functional_url'] = $phpbb_functional_url;
|
$config['phpbb_functional_url'] = $phpbb_functional_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($redis_host))
|
if (isset($phpbb_redis_host))
|
||||||
{
|
{
|
||||||
$config['redis_host'] = $redis_host;
|
$config['redis_host'] = $phpbb_redis_host;
|
||||||
}
|
}
|
||||||
if (isset($redis_port))
|
if (isset($phpbb_redis_port))
|
||||||
{
|
{
|
||||||
$config['redis_port'] = $redis_port;
|
$config['redis_port'] = $phpbb_redis_port;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user