From 9ba8d2aea994c832316f111354668f52de831043 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 5 Apr 2008 18:35:33 +0000 Subject: * Remove ffluci.util.__file__ as it relies on debug information * Added ffluci.debug for things that rely on debug information * Fixed a bug regarding path detection when Luci is bytecompiled --- src/ffluci/template.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ffluci/template.lua') diff --git a/src/ffluci/template.lua b/src/ffluci/template.lua index 52bebbcf4a..589f43c679 100644 --- a/src/ffluci/template.lua +++ b/src/ffluci/template.lua @@ -31,7 +31,7 @@ require("ffluci.fs") require("ffluci.i18n") require("ffluci.model.uci") -viewdir = ffluci.fs.dirname(ffluci.util.__file__()) .. "/view/" +viewdir = ffluci.config.path .. "/view/" -- Compile modes: -- cgit v1.2.3