projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed FFLuCI to LuCI, ffluci to luci and Freifunk Lua Configuration Interface to...
[project/luci.git]
/
core
/
src
/
config.lua
diff --git
a/core/src/config.lua
b/core/src/config.lua
index 0db45ac891cab2d2338ea60cd4ee75307f6c373c..854b128145ca3eea715a1543cdd8898c714e9a28 100644
(file)
--- a/
core/src/config.lua
+++ b/
core/src/config.lua
@@
-1,8
+1,8
@@
--[[
--[[
-
FF
LuCI - Configuration
+LuCI - Configuration
Description:
Description:
-Some
FF
LuCI configuration values read from uci file "luci"
+Some LuCI configuration values read from uci file "luci"
FileId:
FileId:
@@
-25,16
+25,16
@@
limitations under the License.
]]--
]]--
-module("
ff
luci.config", package.seeall)
-require("
ff
luci.model.uci")
-require("
ff
luci.util")
-require("
ff
luci.sys")
+module("luci.config", package.seeall)
+require("luci.model.uci")
+require("luci.util")
+require("luci.sys")
-- Warning! This is only for fallback and compatibility purporses! --
main = {}
-- This is where stylesheets and images go
-- Warning! This is only for fallback and compatibility purporses! --
main = {}
-- This is where stylesheets and images go
-main.mediaurlbase = "/
ff
luci/media"
+main.mediaurlbase = "/luci/media"
-- Does anybody think about browser autodetect here?
-- Too bad busybox doesn't populate HTTP_ACCEPT_LANGUAGE
-- Does anybody think about browser autodetect here?
-- Too bad busybox doesn't populate HTTP_ACCEPT_LANGUAGE
@@
-42,7
+42,7
@@
main.lang = "de"
-- Now overwrite with UCI values
-- Now overwrite with UCI values
-local ucidata =
ff
luci.model.uci.sections("luci")
+local ucidata = luci.model.uci.sections("luci")
if ucidata then
if ucidata then
-
ffluci.util.update(ff
luci.config, ucidata)
+
luci.util.update(
luci.config, ucidata)
end
\ No newline at end of file
end
\ No newline at end of file