summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MemcachePlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MemcachePlugin.php b/plugins/MemcachePlugin.php
index 5214ab9c8..8c8b8da6d 100644
--- a/plugins/MemcachePlugin.php
+++ b/plugins/MemcachePlugin.php
@@ -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;