This commit is contained in:
Mr Chen
2024-04-04 11:42:19 +08:00
parent 721f041c65
commit 6668c2e14b
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -579,6 +579,12 @@ def reload():
mw.opWeb('start')
return 'ok'
def reload_hook():
s = status()
if s == 'start':
return reload()
return 'ok'
def getJsonPath(name):
path = getServerDir() + "/waf/" + name + ".json"