From 223fea11283a828ea24901ccf5c03262d4a0c1d8 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 11 Jul 2022 22:19:00 +0800 Subject: [PATCH] up --- plugins/php/index.py | 6 ++++++ plugins/php/info.json | 1 + 2 files changed, 7 insertions(+) diff --git a/plugins/php/index.py b/plugins/php/index.py index fa62ae474..1058d4a23 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -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': diff --git a/plugins/php/info.json b/plugins/php/info.json index efc904566..dc1b12cb5 100755 --- a/plugins/php/info.json +++ b/plugins/php/info.json @@ -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,