mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
Update index.py
This commit is contained in:
@@ -98,6 +98,10 @@ def getPhpVer(expect=83):
|
|||||||
if (t == expect):
|
if (t == expect):
|
||||||
is_find = True
|
is_find = True
|
||||||
return str(t)
|
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 not is_find:
|
||||||
if len(v) > 1:
|
if len(v) > 1:
|
||||||
return v[1]['version']
|
return v[1]['version']
|
||||||
|
|||||||
Reference in New Issue
Block a user