From d99a346d75ef1904da127546a56647f403f57c3a Mon Sep 17 00:00:00 2001 From: Liborio Cannici Date: Sat, 26 Feb 2011 08:13:47 +0100 Subject: [PATCH] bugfix: it wasn't possible to connect to a given port of memcache, only default was used --- lib/cache/Memcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cache/Memcache.php b/lib/cache/Memcache.php index e6940fa80..ebf7ead32 100644 --- a/lib/cache/Memcache.php +++ b/lib/cache/Memcache.php @@ -9,7 +9,7 @@ public function __construct($options) { $this->memcache = new \Memcache(); - if (!$this->memcache->connect($options['host'])) + if (!$this->memcache->connect($options['host'],$options['port'])) throw new CacheException("Could not connect to $options[host]:$options[port]"); }