X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fdispatcher.lua;h=6445c124ed5ee0fc076bccad528f7577ddcf7290;hp=ad4f24dc777205ddc15743efa55bd0a100023f24;hb=8f2a3f1dccee6a0b7ca99ac24458aa9c8987e131;hpb=7f92fa405cee6b2657325a4b7554be88b217fb9f diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index ad4f24dc7..6445c124e 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -235,6 +235,7 @@ function dispatch(request) include = function(name) tpl.Template(name):render(getfenv(2)) end; translate = function(...) return require("luci.i18n").translate(...) end; striptags = util.striptags; + pcdata = util.pcdata; media = media; theme = fs.basename(media); resource = luci.config.main.resourcebase