Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
[project/luci.git] / libs / sgi-webuci / root / usr / lib / boa / luci.lua
index c7ac168..387d577 100644 (file)
@@ -25,8 +25,8 @@ function init(path)
        if (root ~= '/') then
                -- Entering dummy mode
                luci.model.uci.cursor = function(config, ...)
-                       return uci.cursor(config or root .. "/etc/config", ...)
-       end
+                       return uci2.cursor(config or root .. "/etc/config", ...)
+               end
                
                luci.sys.hostname = function() return "" end
                luci.sys.loadavg  = function() return 0,0,0,0,0 end