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/i18n.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ffluci/i18n.lua') diff --git a/src/ffluci/i18n.lua b/src/ffluci/i18n.lua index c362d3e5f..11f4afe87 100644 --- a/src/ffluci/i18n.lua +++ b/src/ffluci/i18n.lua @@ -26,12 +26,10 @@ limitations under the License. module("ffluci.i18n", package.seeall) -require("ffluci.fs") -require("ffluci.util") require("ffluci.config") table = {} -i18ndir = ffluci.fs.dirname(ffluci.util.__file__()) .. "/i18n/" +i18ndir = ffluci.config.path .. "/i18n/" -- Clears the translation table function clear() -- cgit v1.2.3