From 50093ed3d97c763d344f8f6b7bf934e593a92178 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 6 Aug 2008 20:20:40 +0000 Subject: Moved luci.sys.libpath to luci.util --- libs/web/luasrc/template.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/web/luasrc/template.lua') diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index 659c7216d..907403fcb 100644 --- a/libs/web/luasrc/template.lua +++ b/libs/web/luasrc/template.lua @@ -30,12 +30,13 @@ module("luci.template", package.seeall) require("luci.config") require("luci.util") require("luci.fs") +require("luci.sys") require("luci.http") luci.config.template = luci.config.template or {} -viewdir = luci.config.template.viewdir or luci.sys.libpath() .. "/view" -compiledir = luci.config.template.compiledir or luci.sys.libpath() .. "/view" +viewdir = luci.config.template.viewdir or luci.util.libpath() .. "/view" +compiledir = luci.config.template.compiledir or luci.util.libpath() .. "/view" -- Compile modes: -- cgit v1.2.3