diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 4ceee861..05cc504c 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=26.8.12 -PKG_RELEASE:=219 +PKG_RELEASE:=220 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua index d94aca32..a9e220b9 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua @@ -551,7 +551,7 @@ rule_count = tonumber(luci.sys.exec("wc -l < /usr/share/passwall/rules/block_hos end o = s:taboption("DNS", DummyValue, "refresh_data", translate("Subscribe Rules Data")) o.rawhtml = true -o.template = appname .. "/global/adblock_refresh" +o.template = m:template_path("/global/adblock_refresh") o.value = rule_count.." "..translate("Records") o.description = string.format(""..translate("Last Update Checked")..": %s
",UD) o:depends("adblock",1)