summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/util.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-05 18:35:33 +0000
committerSteven Barth <steven@midlink.org>2008-04-05 18:35:33 +0000
commit9ba8d2aea994c832316f111354668f52de831043 (patch)
tree38dbb506c91f71486fef95dc98620c703c7347e0 /src/ffluci/util.lua
parent348dc7926806ce4cfe8a5bf8a9f63903469e53c8 (diff)
* 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
Diffstat (limited to 'src/ffluci/util.lua')
-rw-r--r--src/ffluci/util.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ffluci/util.lua b/src/ffluci/util.lua
index a33d141e60..dfc88e3e41 100644
--- a/src/ffluci/util.lua
+++ b/src/ffluci/util.lua
@@ -205,10 +205,4 @@ function validate(value, cast_number, cast_int)
end
return value
-end
-
-
--- Returns the filename of the calling script
-function __file__()
- return debug.getinfo(2, 'S').source:sub(2)
end \ No newline at end of file