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);
|
$servers = array($this->servers);
|
||||||
}
|
}
|
||||||
foreach ($servers as $server) {
|
foreach ($servers as $server) {
|
||||||
if (strpos($server, ':') !== false) {
|
if (strpos($server, ';') !== false) {
|
||||||
list($host, $port) = explode(':', $server);
|
list($host, $port) = explode(';', $server);
|
||||||
} else {
|
} else {
|
||||||
$host = $server;
|
$host = $server;
|
||||||
$port = 11211;
|
$port = 11211;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user