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/config.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ffluci/config.lua') diff --git a/src/ffluci/config.lua b/src/ffluci/config.lua index 8b94db8089..8b1a73dc7e 100644 --- a/src/ffluci/config.lua +++ b/src/ffluci/config.lua @@ -28,6 +28,10 @@ limitations under the License. module("ffluci.config", package.seeall) require("ffluci.model.uci") require("ffluci.util") +require("ffluci.debug") + +-- Our path (wtf Lua lacks __file__ support) +path = ffluci.debug.path -- Warning! This is only for fallback and compatibility purporses! -- main = {} -- cgit v1.2.3