* 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 13fec754e3708b1b6e7a149ce71f0d9c5218cf98..ab2a3e18ff790ff526d0c4b4621cdc8e8c01ceca 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 202e073321ab01137e57c9df830544ab44649081..fc551a4bdeb54efa83985742e7c83e3998d1f0c8 100644 (file)
@@ -34,9 +34,6 @@ local tree = {nodes={}}
 -- Index table
 local index = {}
 
--- Indexdump
-local indexcache = "/tmp/.luciindex"
-
 -- Global request object
 request = {}