소스 검색

Fixed:变量名称错误

Zhu Jinhui 7 년 전
부모
커밋
74e4161af0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Qii/Cache/Redis.php

+ 1 - 1
Qii/Cache/Redis.php

@@ -42,7 +42,7 @@ class Redis implements Intf
 
         $redisServer = array();
         foreach ($this->policy['servers'] AS $value) {
-            $redisServer[] = array('host' => $value['host'], 'port' => $host['port']);
+            $redisServer[] = array('host' => $value['host'], 'port' => $value['port']);
         }
         $this->redis = new \Qii\Cache\Redis\Cluster($redisServer, 128);
     }