forked from github/server
4b721e074d
do not load any config for run-tests.lua
10 lines
303 B
Lua
10 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
|