Fix using unix:///path/to/socket.file in memcached driver (#7210)

off by one when stripping the memcache (sans d) compatible AF_UNIX prefix
pull/7219/head
Paul J. Dorn 4 years ago committed by GitHub
parent 32b37fba33
commit 305c9355ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,7 @@ class rcube_cache_memcached extends rcube_cache
if (!$port) $port = 11211;
}
else {
$host = substr($host, 8);
$host = substr($host, 7);
$port = 0;
}

Loading…
Cancel
Save