mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 21:29:25 +08:00
Update index.py
This commit is contained in:
@@ -98,7 +98,8 @@ def getPhpVer(expect=83):
|
||||
if (t == expect):
|
||||
is_find = True
|
||||
return str(t)
|
||||
new_ex = expect[0:1]+"."+expect[1:2]
|
||||
expect_str = str(expect)
|
||||
new_ex = expect_str[0:1]+"."+expect_str[1:2]
|
||||
if t.find(new_ex) > -1:
|
||||
is_find = True
|
||||
return str(t)
|
||||
|
||||
Reference in New Issue
Block a user