libs/web: Turn dependency tracking on by default
authorSteven Barth <steven@midlink.org>
Fri, 5 Sep 2008 14:34:59 +0000 (14:34 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 5 Sep 2008 14:34:59 +0000 (14:34 +0000)
libs/web/luasrc/dispatcher.lua

index 296c7624dd43a4861fd0d5a9feb4f5f021cffd16..09e99e7decd233b4c301b712b4438994bb193e8e 100644 (file)
@@ -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