server/scripts/eressea/xmlconf.lua
Enno Rehling 4b721e074d diable test_peasantluck, it fails on master
do not load any config for run-tests.lua
2015-05-24 10:31:11 +02:00

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