Changeset 5115
- Timestamp:
- 07/23/09 04:22:45 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/lucid-http/luasrc/lucid/http/handler/luci.lua
r4839 r5115 12 12 ]]-- 13 13 14 local cbi = require "luci.cbi" 14 15 local dsp = require "luci.dispatcher" 15 16 local util = require "luci.util" … … 34 35 srv.Handler.__init__(self, name) 35 36 self.prefix = prefix 37 38 self.dsp_tree = dsp.createtree() 36 39 end 37 40 … … 67 70 local x = coroutine.create(dsp.httpdispatch) 68 71 while not id or id < 3 do 69 res, id, data1, data2 = coroutine.resume(x, r, self.prefix )72 res, id, data1, data2 = coroutine.resume(x, r, self.prefix, self.dsp_tree) 70 73 71 74 if not res then
