diff --git a/class/core/db.py b/class/core/db.py index e15339ca1..7d4df15cb 100755 --- a/class/core/db.py +++ b/class/core/db.py @@ -33,6 +33,10 @@ class Sql(): self.__DB_FILE = 'data/' + name + '.db' return self + def dbPos(self, path, name): + self.__DB_FILE = path + '/' + name + '.db' + return self + def table(self, table): # 设置表名 self.__DB_TABLE = table diff --git a/route/static/app/public.js b/route/static/app/public.js index 92cb372aa..7b310b330 100755 --- a/route/static/app/public.js +++ b/route/static/app/public.js @@ -150,7 +150,7 @@ function changePath(d) { closeBtn: 2, shift: 5, shadeClose: false, - content: "
"+lan.bt.path+":
"+lan.bt.comp+"
    "+lan.bt.filename+""+lan.bt.etime+""+lan.bt.access+""+lan.bt.own+"
    " + content: "
    "+lan.bt.path+":
    "+lan.bt.comp+"
      "+lan.bt.filename+""+lan.bt.etime+""+lan.bt.access+""+lan.bt.own+"
      " }); setCookie("ChangePath", c); var b = $("#" + d).val(); @@ -294,7 +294,7 @@ function activeDisk() { } } -function BackMyComputer() { +function backMyComputer() { $(".default").show(); $(".file-list").hide(); $("#PathPlace").find("span").html("");