mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update index.py
This commit is contained in:
@@ -308,12 +308,13 @@ def initDreplace():
|
||||
|
||||
# 初始化OP配置
|
||||
initOpConf()
|
||||
initPhpConf()
|
||||
|
||||
|
||||
init_file = getServerDir() + '/init.pl'
|
||||
if not os.path.exists(init_file):
|
||||
initZsConf()
|
||||
initAgentConf()
|
||||
initPhpConf()
|
||||
openPort()
|
||||
mw.writeFile(init_file, 'ok')
|
||||
return True
|
||||
@@ -353,6 +354,9 @@ def restart():
|
||||
return status
|
||||
|
||||
def reload():
|
||||
initZsConf()
|
||||
initAgentConf()
|
||||
initPhpConf()
|
||||
return zOp('reload')
|
||||
|
||||
def initdStatus():
|
||||
|
||||
Reference in New Issue
Block a user