summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-14 19:34:36 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-14 19:34:36 +0200
commit525db97546611aee941086a8a9c9e50f12ba1098 (patch)
tree477c0d2489690f09bf95ca4cb270fea193826b34 /system
parentc1cb9059ee60ae1bf1fd20afcf399b5616c8e740 (diff)
support unix sockets for memcache
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system')
-rw-r--r--system/application/libraries/MemcacheLibrary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/libraries/MemcacheLibrary.php b/system/application/libraries/MemcacheLibrary.php
index 046a6f599..367c85078 100644
--- a/system/application/libraries/MemcacheLibrary.php
+++ b/system/application/libraries/MemcacheLibrary.php
@@ -62,7 +62,7 @@ class MemcacheLibrary {
$this->CI->config->load("memcache");
/* connect to default server */
- if($this->CI->config->item("MEMCACHE_HOST") && $this->CI->config->item("MEMCACHE_PORT")) {
+ if($this->CI->config->item("MEMCACHE_HOST") && $this->CI->config->item("MEMCACHE_PORT") !== false) {
$this->addServer($this->CI->config->item("MEMCACHE_HOST"), $this->CI->config->item("MEMCACHE_PORT"));
}