Update index.py

pull/118/head
midoks 3 years ago
parent a30b8b6849
commit 5d8c320b81
  1. 9
      plugins/php/index.py

@ -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):

Loading…
Cancel
Save