* Updated dispatching cache mechanism
authorSteven Barth <steven@midlink.org>
Wed, 28 May 2008 04:08:54 +0000 (04:08 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 28 May 2008 04:08:54 +0000 (04:08 +0000)
libs/sgi-haserl/root/www/cgi-bin/luci
libs/web/luasrc/dispatcher.lua

index 13fec75..ab2a3e1 100755 (executable)
@@ -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
index 202e073..fc551a4 100644 (file)
@@ -34,9 +34,6 @@ local tree = {nodes={}}
 -- Index table
 local index = {}
 
--- Indexdump
-local indexcache = "/tmp/.luciindex"
-
 -- Global request object
 request = {}