forked from github/server
11 lines
303 B
Lua
11 lines
303 B
Lua
local confdir = 'conf/'
|
|
if config.install then
|
|
confdir = config.install .. '/' .. confdir
|
|
end
|
|
rules=''
|
|
if config.rules then
|
|
rules = config.rules .. '/'
|
|
read_xml(confdir .. rules .. 'config.xml', confdir .. rules .. 'catalog.xml')
|
|
eressea.config.read(rules .. 'config.json', confdir)
|
|
end
|