]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring...
authorBrion Vibber <brion@pobox.com>
Sat, 16 Jan 2010 21:39:05 +0000 (13:39 -0800)
committerBrion Vibber <brion@pobox.com>
Sat, 16 Jan 2010 21:39:05 +0000 (13:39 -0800)
plugins/MemcachePlugin.php

index 5214ab9c8983329aa0fa10e909910b24d41663e3..8c8b8da6dc183cdd45dfef86598dee23fea58148 100644 (file)
@@ -170,8 +170,8 @@ class MemcachePlugin extends Plugin
                 $servers = array($this->servers);
             }
             foreach ($servers as $server) {
-                if (strpos($server, ':') !== false) {
-                    list($host, $port) = explode(':', $server);
+                if (strpos($server, ';') !== false) {
+                    list($host, $port) = explode(';', $server);
                 } else {
                     $host = $server;
                     $port = 11211;