diff options
author | Steven Barth <steven@midlink.org> | 2008-05-28 04:08:54 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-28 04:08:54 +0000 |
commit | 776f9957d0376670e9d3e43677dbe3ba19ded193 (patch) | |
tree | 06cc4216a1987ac09b6f34b689a5b7b9374c43d0 /libs | |
parent | c59a7afe452486a92d8c5f57f09c96519a2137ed (diff) |
* Updated dispatching cache mechanism
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 13fec754e..ab2a3e18f 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 202e07332..fc551a4bd 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 = {} |