mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -71,7 +71,6 @@ def getHomePage():
|
|||||||
def getPhpVer(expect=56):
|
def getPhpVer(expect=56):
|
||||||
import json
|
import json
|
||||||
v = site_api.site_api().getPhpVersion()
|
v = site_api.site_api().getPhpVersion()
|
||||||
v = json.loads(v)
|
|
||||||
for i in range(len(v)):
|
for i in range(len(v)):
|
||||||
t = int(v[i]['version'])
|
t = int(v[i]['version'])
|
||||||
if (t >= expect):
|
if (t >= expect):
|
||||||
|
|||||||
Reference in New Issue
Block a user