summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-08 08:14:31 +0000
committerSteven Barth <steven@midlink.org>2008-06-08 08:14:31 +0000
commit7d03f8ea8a5edf72b708a8a4f45346048274fae6 (patch)
tree5e043f366b4db2b02d3389b09e5699c485c57bc8 /libs/web/luasrc
parent09ecbe73ed51cdbbb204f323ad9207505680cd94 (diff)
* Core translation
* Added license headers * Splitted qos into separate application package
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r--libs/web/luasrc/dispatcher.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index ff4170cb8..64355439b 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -158,10 +158,9 @@ function dispatch()
local tpl = require("luci.template")
tpl.viewns.translate = function(...) return require("luci.i18n").translate(...) end
tpl.viewns.controller = luci.http.dispatcher()
- tpl.viewns.uploadctrl = luci.http.dispatcher_upload()
+ tpl.viewns.uploadctrl = luci.http.dispatcher_upload() -- DEPRECATED
tpl.viewns.media = luci.config.main.mediaurlbase
tpl.viewns.resource = luci.config.main.resourcebase
- tpl.viewns.uci = require("luci.model.uci").config
tpl.viewns.REQUEST_URI = luci.http.env.SCRIPT_NAME .. (luci.http.env.PATH_INFO or "")