$Id$
]]--
+local cbi = require "luci.cbi"
local dsp = require "luci.dispatcher"
local util = require "luci.util"
local http = require "luci.http"
function Luci.__init__(self, name, prefix)
srv.Handler.__init__(self, name)
self.prefix = prefix
+
+ self.dsp_tree = dsp.createtree()
end
--- Handle a HEAD request.
local x = coroutine.create(dsp.httpdispatch)
while not id or id < 3 do
- res, id, data1, data2 = coroutine.resume(x, r, self.prefix)
+ res, id, data1, data2 = coroutine.resume(x, r, self.prefix, self.dsp_tree)
if not res then
status = 500