From: Steven Barth Date: Fri, 5 Sep 2008 14:34:59 +0000 (+0000) Subject: libs/web: Turn dependency tracking on by default X-Git-Tag: 0.8.0~144 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=47c07adf75ccdaec3f80aab009cf0819d24d4a3e;ds=inline libs/web: Turn dependency tracking on by default --- 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