diff options
Diffstat (limited to 'libs/sgi-luci')
-rw-r--r-- | libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua b/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua index f237b8538..120466789 100644 --- a/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua +++ b/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua @@ -11,6 +11,7 @@ end -- Register luci function register() - local lucihnd = require "luci.ttpd.handler.luci" - httpd.server:get_default_vhost():set_handler("/luci", lucihnd.Luci()) -end
\ No newline at end of file + local lucihnd = require "luci.ttpd.handler.luci".Luci() + httpd.server:get_default_vhost():set_handler("/luci", lucihnd) + httpd.server:get_default_vhost():set_handler("/cgi-bin/luci", lucihnd) +end |