From 7d03f8ea8a5edf72b708a8a4f45346048274fae6 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 8 Jun 2008 08:14:31 +0000 Subject: * Core translation * Added license headers * Splitted qos into separate application package --- libs/web/luasrc/dispatcher.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/web') diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index ff4170cb8a..64355439b2 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 "") -- cgit v1.2.3