diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-16 13:39:05 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-16 13:39:05 -0800 |
commit | 775c63b654dacf733e7bef99cb9f6f07aa824854 (patch) | |
tree | 4dc414cfe91792a6663ecd3f568b167c649b7e98 /plugins/MemcachePlugin.php | |
parent | faedddaa817cde70c8ab55803e68454d126e5936 (diff) |
Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring. Keeping fix for the notices spewing into the log.
Diffstat (limited to 'plugins/MemcachePlugin.php')
-rw-r--r-- | plugins/MemcachePlugin.php | 4 |
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; |