summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-05 14:34:59 +0000
committerSteven Barth <steven@midlink.org>2008-09-05 14:34:59 +0000
commit47c07adf75ccdaec3f80aab009cf0819d24d4a3e (patch)
tree3814bda345978e32dd38adc104039490f611aae7 /libs/web/luasrc/dispatcher.lua
parente2e1cf54974c5276ba8e874c2029857e8f97629a (diff)
libs/web: Turn dependency tracking on by default
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r--libs/web/luasrc/dispatcher.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 296c7624d..09e99e7de 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -171,6 +171,7 @@ function dispatch(request)
viewns.REQUEST_URI = (luci.http.getenv("SCRIPT_NAME") or "") .. (luci.http.getenv("PATH_INFO") or "")
end
+ track.dependent = (track.dependent ~= false)
assert(not track.dependent or not track.auto, "Access Violation")
if track.sysauth then