From cd498aa924553422e64c4b56d2fb01e63a170bac Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 11 Apr 2008 18:13:58 +0000 Subject: * Major repository revision --- src/ffluci/config.lua | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/ffluci/config.lua (limited to 'src/ffluci/config.lua') diff --git a/src/ffluci/config.lua b/src/ffluci/config.lua deleted file mode 100644 index 8b1a73dc7e..0000000000 --- a/src/ffluci/config.lua +++ /dev/null @@ -1,51 +0,0 @@ ---[[ -FFLuCI - Configuration - -Description: -Some FFLuCI configuration values read from uci file "luci" - - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -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 = {} - --- This is where stylesheets and images go -main.mediaurlbase = "/ffluci/media" - --- Does anybody think about browser autodetect here? --- Too bad busybox doesn't populate HTTP_ACCEPT_LANGUAGE -main.lang = "de" - - --- Now overwrite with UCI values -local ucidata = ffluci.model.uci.show("luci") -if ucidata and ucidata.luci then - ffluci.util.update(ffluci.config, ucidata.luci) -end \ No newline at end of file -- cgit v1.2.3