Update index.py

This commit is contained in:
Mr Chen
2024-07-20 01:48:36 +08:00
parent bad4415650
commit f89be00419
+5 -1
View File
@@ -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():