summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslydevil2017-06-16 08:19:26 (GMT)
committerDamian Lee2017-06-16 08:19:26 (GMT)
commit97888cf2b53d7903d7f4756138f96d42ec5a7952 (patch)
treeceb810c89f3e3b2d238e7c7c223dd7910fe891a2
parentfb3e4ff2b9e5610a36241595a0b6267e2e510cb3 (diff)
Issue #2882431 by slydevil: Socket file configuration not working
-rwxr-xr-x[-rw-r--r--]src/DrupalMemcached.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DrupalMemcached.php b/src/DrupalMemcached.php
index 7201b0b..3f636bc 100644..100755
--- 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;
}