From 855b7582d3576f45693e3a48fdb253c813cf4dce Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 14 Jun 2008 14:12:12 +0000 Subject: * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers * Setting base version to 0.7 --- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/openwrt.org') diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index 889fdd01f0..d1b7518715 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -1,11 +1,11 @@ <% require("luci.sys") local load1, load5, load15 = luci.sys.loadavg() -local request = require("luci.dispatcher").request +local request = require("luci.dispatcher").context.path local category = request[1] local tree = luci.dispatcher.node() local cattree = category and luci.dispatcher.node(category) -local node = luci.dispatcher.dispatched +local node = luci.dispatcher.context.dispatched local c = tree for i,r in ipairs(request) do -- cgit v1.2.3