diff --git a/webapp/controller/RankController.class.php b/webapp/controller/RankController.class.php index b3dcaca..a6b73cc 100644 --- a/webapp/controller/RankController.class.php +++ b/webapp/controller/RankController.class.php @@ -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'],