diff --git a/plugins/memcached/index.py b/plugins/memcached/index.py index f506f0175..e3a3022b9 100755 --- a/plugins/memcached/index.py +++ b/plugins/memcached/index.py @@ -43,7 +43,7 @@ def getConfTpl(): def getMemPort(): - path = getConf() + path = getServerDir() + '/memcached.env' content = mw.readFile(path) rep = 'PORT\s*=\s*(\d*)' tmp = re.search(rep, content)