--- LuCI web dispatcher.
module("luci.dispatcher", package.seeall)
+require("luci.util")
require("luci.init")
require("luci.http")
require("luci.sys")
tpl.context.viewns = viewns
viewns.write = luci.http.write
viewns.translate = function(...) return require("luci.i18n").translate(...) end
+ viewns.striptags = luci.util.striptags
viewns.controller = luci.http.getenv("SCRIPT_NAME")
viewns.media = luci.config.main.mediaurlbase
viewns.resource = luci.config.main.resourcebase