projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert luci.fs users to nixio.fs api
[project/luci.git]
/
libs
/
core
/
luasrc
/
util.lua
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index
e86d5ec
..
f83cac5
100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-705,7
+705,7
@@
end
--- Returns the absolute path to LuCI base directory.
-- @return String containing the directory path
function libpath()
- return require "
luci
.fs".dirname(ldebug.__file__)
+ return require "
nixio
.fs".dirname(ldebug.__file__)
end