mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
wd
This commit is contained in:
@@ -11,7 +11,7 @@ import json
|
||||
class plugin:
|
||||
__tasks = None
|
||||
__plugin_dir = "plugins"
|
||||
__type = "data/type.json"
|
||||
__type = "data/json/type.json"
|
||||
setupPath = None
|
||||
|
||||
def __init__(self):
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"versions": ["5.2","5.3","5.4","5.5","5.6","7.0","7.1","7.2"],
|
||||
"updates": ["5.2.17p1","5.3.29","5.4.45","5.5.38","5.6.32","7.0.26","7.1.12","7.2.0"],
|
||||
"tip": "soft",
|
||||
"checks": "/www/server/php/VERSION/bin/php",
|
||||
"checks": "server/php/VERSION/bin/php",
|
||||
"display": 1,
|
||||
"author": "Zend",
|
||||
"date": "2017-04-01",
|
||||
|
||||
+1
-1
@@ -176,5 +176,5 @@ def getDir():
|
||||
continue
|
||||
data['DIR'] = sorted(dirnames)
|
||||
data['FILES'] = sorted(filenames)
|
||||
data['PATH'] = ""
|
||||
data['PATH'] = path
|
||||
return public.getJson(data)
|
||||
|
||||
@@ -10,8 +10,3 @@ site = Blueprint('site', __name__, template_folder='templates')
|
||||
@site.route("/")
|
||||
def index():
|
||||
return render_template('default/site.html')
|
||||
|
||||
|
||||
# @site.route("/list")
|
||||
# def list():
|
||||
# SQL = public.M('site')
|
||||
|
||||
Reference in New Issue
Block a user