Loading lib/Redis/Client/PhpRedis.php +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Redis_Client_PhpRedis implements Redis_Client_FactoryInterface { $client->auth($options['password']); } if (isset($options['database'])) { if (isset($options['base'])) { $client->select($options['base']); } Loading lib/Redis/Client/Predis.php +4 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,10 @@ class Redis_Client_Predis implements Redis_Client_FactoryInterface { $client = new \Predis\Client($options); if (isset($options['base']) && 0 !== $options['base']) { $client->select((int)$options['base']); } return $client; } Loading Loading
lib/Redis/Client/PhpRedis.php +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Redis_Client_PhpRedis implements Redis_Client_FactoryInterface { $client->auth($options['password']); } if (isset($options['database'])) { if (isset($options['base'])) { $client->select($options['base']); } Loading
lib/Redis/Client/Predis.php +4 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,10 @@ class Redis_Client_Predis implements Redis_Client_FactoryInterface { $client = new \Predis\Client($options); if (isset($options['base']) && 0 !== $options['base']) { $client->select((int)$options['base']); } return $client; } Loading