1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[ticket/9983] Add phpbb prefix to global variables.

PHPBB3-9983
This commit is contained in:
Oleg Pudeyev 2012-12-02 23:57:37 -05:00
parent 5f9133c213
commit 7d09b9b4bb
2 changed files with 6 additions and 6 deletions

View File

@ -80,8 +80,8 @@ or port must be specified in test configuration. This can be done via
test_config.php as follows:
<?php
$redis_host = 'localhost';
$redis_port = 6379;
$phpbb_redis_host = 'localhost';
$phpbb_redis_port = 6379;
Or via environment variables as follows:

View File

@ -92,13 +92,13 @@ class phpbb_test_case_helpers
$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;
}
}