Moved luci.sys.libpath to luci.util
[project/luci.git] / libs / web / luasrc / dispatcher.lua
index 576db36..840dbf3 100644 (file)
@@ -201,7 +201,7 @@ end
 
 --- Generate the dispatching index using the best possible strategy.
 function createindex()
-       local path = luci.sys.libpath() .. "/controller/"
+       local path = luci.util.libpath() .. "/controller/"
        local suff = ".lua"
        
        if luci.util.copcall(require, "luci.fastindex") then