mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
* ffluci.sgi.haserl: Several fixes
* ffluci.menu: Enabled caching
This commit is contained in:
@@ -118,6 +118,8 @@ end
|
||||
|
||||
-- Returns the menu information
|
||||
function get()
|
||||
collect()
|
||||
if not menu then
|
||||
collect()
|
||||
end
|
||||
return menu
|
||||
end
|
||||
@@ -52,7 +52,7 @@ end
|
||||
|
||||
-- Gets a table of values with a certain prefix
|
||||
function ffluci.http.formvaluetable(prefix)
|
||||
return formvalue(prefix, {})
|
||||
return ffluci.http.formvalue(prefix, {})
|
||||
end
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ function ffluci.http.redirect(url, qs)
|
||||
url = url .. "?" .. qs
|
||||
end
|
||||
|
||||
set_status(302, "Found")
|
||||
ffluci.http.set_status(302, "Found")
|
||||
print("Location: " .. url .. "\n")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user