1
This commit is contained in:
parent
4fe02ab504
commit
c254f11c66
@ -17,7 +17,8 @@ class RankController{
|
||||
|
||||
protected function getRedis()
|
||||
{
|
||||
$redis_conf = getRedisConfig();
|
||||
$key = 'game2001api';
|
||||
$redis_conf = getRedisConfig($key);
|
||||
$r = new phpcommon\Redis(array(
|
||||
'host' => $redis_conf['host'],
|
||||
'port' => $redis_conf['port'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user