This commit is contained in:
midoks 2022-07-11 22:19:00 +08:00
parent eee0e5d74e
commit 223fea1128
2 changed files with 7 additions and 0 deletions

View File

@ -738,6 +738,10 @@ def getConfAppStart():
pstart = mw.getServerDir() + '/php/app_start.php'
return pstart
def installPreInspection(version):
return "ok"
if __name__ == "__main__":
if len(sys.argv) < 3:
@ -757,6 +761,8 @@ if __name__ == "__main__":
print(restart(version))
elif func == 'reload':
print(reload(version))
elif func == 'install_pre_inspection':
print(installPreInspection(version))
elif func == 'initd_status':
print(initdStatus(version))
elif func == 'initd_install':

View File

@ -8,6 +8,7 @@
"versions": ["52","53","54","55","56","70","71","72","73","74","80","81"],
"updates": ["5.2.17","5.3.29","5.4.45","5.6.36","7.0.30","7.1.33","7.2.32","7.3.20","7.4.8","8.0.13","8.1.0"],
"tip": "soft",
"install_pre_inspection":true,
"checks": "server/php/VERSION/bin/php",
"path": "server/php/VERSION",
"display": 1,