Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring. Keeping fix for the notices spewing into the log.
This commit is contained in:
parent
faedddaa81
commit
775c63b654
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user