From 58ad6218cd28ca0f3ba278dc67eb7741ff6bda98 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 18 Jun 2022 17:56:59 +0800 Subject: [PATCH] Update index.py --- plugins/memcached/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)