pull/678/head
Mr Chen 4 months ago
parent 76cf2e8fa5
commit 31fd04456b
  1. 2
      plugins/phpmyadmin/index.py
  2. 2
      plugins/phpmyadmin/install.sh
  3. 1
      plugins/tamper_proof_py/index.py
  4. 2
      plugins/xhprof/index.py

@ -90,7 +90,7 @@ def getHomePage():
def getPhpVer(expect=55):
php_vers = MwSites.instance().getPhpVersion()
v = php_ver['data']
v = php_vers['data']
is_find = False
for i in range(len(v)):
t = str(v[i]['version'])

@ -7,6 +7,8 @@ rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
# cd /www/server/mdserver-web && python3 plugins/phpmyadmin/index.py start
if [ -f ${rootPath}/bin/activate ];then
source ${rootPath}/bin/activate
fi

@ -562,7 +562,6 @@ class App:
# 判断是否安装php
php_version = MwSites.instance().getPhpVersion()
if not php_version['data']:
return mw.returnJson(False, "未安装PHP测试失败")

@ -75,7 +75,7 @@ def getHomePage():
def getPhpVer(expect=74):
php_vers = MwSites.instance().getPhpVersion()
v = php_ver['data']
v = php_vers['data']
for i in range(len(v)):
t = int(v[i]['version'])
if (t >= expect):

Loading…
Cancel
Save