From b17452a9499e7303c0bd019b453809bbcac268d2 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 3 Feb 2025 03:30:09 +0800 Subject: [PATCH] Update index.py --- plugins/lam/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/lam/index.py b/plugins/lam/index.py index 1ddb5fc95..594128b6f 100755 --- a/plugins/lam/index.py +++ b/plugins/lam/index.py @@ -98,6 +98,10 @@ def getPhpVer(expect=83): if (t == expect): is_find = True return str(t) + new_ex = expect[0:1]+"."+expect[1:2] + if t.find(new_ex) > -1: + is_find = True + return str(t) if not is_find: if len(v) > 1: return v[1]['version']