pull/701/head
Mr Chen 3 months ago
parent 8835cd4ab5
commit a04b9487f1
  1. 5
      plugins/phpldapadmin/index.py
  2. 5
      plugins/phpmyadmin/index.py

@ -98,6 +98,11 @@ def getPhpVer(expect=74):
if (t == expect):
is_find = True
return str(t)
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)
if not is_find:
if len(v) > 1:
return v[1]['version']

@ -98,6 +98,11 @@ def getPhpVer(expect=55):
if (t == expect):
is_find = True
return str(t)
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)
if not is_find:
if len(v) > 1:
return v[1]['version']

Loading…
Cancel
Save