diff --git a/src/DrupalMemcached.php b/src/DrupalMemcached.php old mode 100644 new mode 100755 index 7201b0bf80590bdaddc07910dad606d5938c00fd..3f636bc0c5dc550e1ce55562f526d49a06afdeae --- a/src/DrupalMemcached.php +++ b/src/DrupalMemcached.php @@ -48,7 +48,7 @@ class DrupalMemcached extends DrupalMemcacheBase { if ($host == 'unix') { // Memcached expects just the path to the socket without the protocol - $host = substr($host, 7); + $host = substr($server_path, 7); // Port is always 0 for unix sockets. $port = 0; }