X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fdispatcher.lua;h=09e99e7decd233b4c301b712b4438994bb193e8e;hb=47c07adf75ccdaec3f80aab009cf0819d24d4a3e;hp=296c7624dd43a4861fd0d5a9feb4f5f021cffd16;hpb=e2e1cf54974c5276ba8e874c2029857e8f97629a;p=project%2Fluci.git 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