summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-04 00:01:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-04 00:01:21 +0000
commitf7fab0d54f3dfedb3a568c30f2569bd1b3cef5fe (patch)
tree326b84276a1b83ca78e4d983d0a795ec1fa75221 /libs/sgi-webuci/root
parent18efb3f75bd0c51f005ae247cbabc6bf3be41539 (diff)
allow the sgi-webuci prepare_req function to reload the lua context if necessary (not used yet)
Diffstat (limited to 'libs/sgi-webuci/root')
-rw-r--r--libs/sgi-webuci/root/usr/lib/boa/luci.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
index e34bd5e2d..c0dab39bc 100644
--- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua
+++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
@@ -47,6 +47,7 @@ function prepare_req(uri)
luci.dispatcher.createindex()
env = {}
env.REQUEST_URI = uri
+ -- TODO: setting luci-plugin.reload = true allows this function to trigger a context reload
end
function handle_req(context)