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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user