mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user