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:
@@ -308,12 +308,13 @@ def initDreplace():
|
|||||||
|
|
||||||
# 初始化OP配置
|
# 初始化OP配置
|
||||||
initOpConf()
|
initOpConf()
|
||||||
initPhpConf()
|
|
||||||
|
|
||||||
init_file = getServerDir() + '/init.pl'
|
init_file = getServerDir() + '/init.pl'
|
||||||
if not os.path.exists(init_file):
|
if not os.path.exists(init_file):
|
||||||
initZsConf()
|
initZsConf()
|
||||||
initAgentConf()
|
initAgentConf()
|
||||||
|
initPhpConf()
|
||||||
openPort()
|
openPort()
|
||||||
mw.writeFile(init_file, 'ok')
|
mw.writeFile(init_file, 'ok')
|
||||||
return True
|
return True
|
||||||
@@ -353,6 +354,9 @@ def restart():
|
|||||||
return status
|
return status
|
||||||
|
|
||||||
def reload():
|
def reload():
|
||||||
|
initZsConf()
|
||||||
|
initAgentConf()
|
||||||
|
initPhpConf()
|
||||||
return zOp('reload')
|
return zOp('reload')
|
||||||
|
|
||||||
def initdStatus():
|
def initdStatus():
|
||||||
|
|||||||
Reference in New Issue
Block a user