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配置
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():