Update index.py

This commit is contained in:
midoks
2022-07-03 18:54:19 +08:00
parent a30b8b6849
commit 5d8c320b81
+8 -1
View File
@@ -287,7 +287,14 @@ def start(version):
def stop(version):
return phpOp(version, 'stop')
status = phpOp(version, 'stop')
if version == '52':
file = initReplace(version)
data = mw.execShell(file + ' ' + 'stop')
if data[1] == '':
return 'ok'
return status
def restart(version):