Skip to content

Commit f987b75

Browse files
committed
Fix predis connection config.
Oups, predis still uses 'host' for it's configuration.
1 parent 25d6301 commit f987b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RedisTreeEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function init($settings = array()) {
4848
try {
4949
$this->redis = new Predis\Client(array(
5050
'scheme' => 'tcp',
51-
'server' => $this->settings['server'],
51+
'host' => $this->settings['server'],
5252
'port' => $this->settings['port'],
5353
));
5454
}

0 commit comments

Comments
 (0)