summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:42:07 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:42:07 +0000
commit8f2a3f1dccee6a0b7ca99ac24458aa9c8987e131 (patch)
treef346f241f4ab155f5be542503757504e43f4c81b /libs/web/luasrc/dispatcher.lua
parent7f92fa405cee6b2657325a4b7554be88b217fb9f (diff)
libs/web: prepare template parser, dispatcher and i18n class for upcoming po format change
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r--libs/web/luasrc/dispatcher.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index ad4f24dc77..6445c124ed 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