diff options
Diffstat (limited to 'libs')
-rwxr-xr-x | libs/sgi-haserl/root/www/cgi-bin/luci | 4 | ||||
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libs/sgi-haserl/root/www/cgi-bin/luci b/libs/sgi-haserl/root/www/cgi-bin/luci index 13fec754e3..ab2a3e18ff 100755 --- a/libs/sgi-haserl/root/www/cgi-bin/luci +++ b/libs/sgi-haserl/root/www/cgi-bin/luci @@ -1,2 +1,4 @@ #!/usr/bin/haserl --shell=luac -require("luci.dispatcher").httpdispatch()
\ No newline at end of file +require("luci.dispatcher") +luci.dispatcher.indexcache = "/tmp/.luciindex" +luci.dispatcher.httpdispatch()
\ No newline at end of file diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 202e073321..fc551a4bde 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -34,9 +34,6 @@ local tree = {nodes={}} -- Index table local index = {} --- Indexdump -local indexcache = "/tmp/.luciindex" - -- Global request object request = {} |