diff options
Diffstat (limited to 'libs/sgi-webuci/luasrc/sgi/webuci.lua')
-rw-r--r-- | libs/sgi-webuci/luasrc/sgi/webuci.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/sgi-webuci/luasrc/sgi/webuci.lua b/libs/sgi-webuci/luasrc/sgi/webuci.lua index abe279d051..8801cf4475 100644 --- a/libs/sgi-webuci/luasrc/sgi/webuci.lua +++ b/libs/sgi-webuci/luasrc/sgi/webuci.lua @@ -29,9 +29,9 @@ require("luci.util") require("luci.dispatcher") function run(env, vars) - local r = luci.http.Request() - r.env = env - r.request = vars + local r = luci.http.Request(env, nil, io.stderr) + r.get = vars + r.post = r.get local x = coroutine.create(luci.dispatcher.httpdispatch) |