Update index.py

This commit is contained in:
midoks
2022-06-18 22:41:43 +08:00
parent d576e965dd
commit 64536145be
+4
View File
@@ -302,6 +302,8 @@ def initdInstall(version):
return "Apple Computer does not support"
mw.execShell('systemctl enable php' + version)
if data[0] == '':
return 'fail'
return 'ok'
@@ -310,6 +312,8 @@ def initdUinstall(version):
return "Apple Computer does not support"
mw.execShell('systemctl disable php' + version)
if data[0] == '':
return 'fail'
return 'ok'