diff options
author | Steven Barth <steven@midlink.org> | 2008-05-22 14:04:03 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-22 14:04:03 +0000 |
commit | 6604399aa8f35d33c53a5e5a1fea765f401aef5e (patch) | |
tree | ed818d630634a98a8996a1ba6d10e63bbea17c39 /applications/sgi-webuci | |
parent | f738eb786e3d30028310c7bcc447e7e7b63767e0 (diff) |
Merge branch 'menu'
Diffstat (limited to 'applications/sgi-webuci')
-rw-r--r-- | applications/sgi-webuci/root/lib/webuci/main.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/applications/sgi-webuci/root/lib/webuci/main.lua b/applications/sgi-webuci/root/lib/webuci/main.lua index 50ac8184b7..f21934e0a8 100644 --- a/applications/sgi-webuci/root/lib/webuci/main.lua +++ b/applications/sgi-webuci/root/lib/webuci/main.lua @@ -1,11 +1,9 @@ -package.path = "/usr/lib/lua/?.lua;/usr/lib/lua/?/init.lua;" .. package.path -package.cpath = "/usr/lib/lua/?.so;" .. package.cpath module("webuci", package.seeall) function prepare_req(uri) env = {} env.REQUEST_URI = uri - require("ffluci.menu").get() + require("ffluci.dispatcher").createindex() end function init_req(context) @@ -19,5 +17,5 @@ function init_req(context) end function handle_req(context) - require("ffluci.dispatcher").httpdispatch() + ffluci.dispatcher.httpdispatch() end
\ No newline at end of file |