forked from github/server
da02c1b92e
TODO: XML files need to be rebased, XIncludes replaced.
10 lines
529 B
Lua
10 lines
529 B
Lua
local rules = 'conf'
|
|
|
|
if config.rules then
|
|
rules = rules .. '/' .. config.rules
|
|
assert(0 == eressea.config.read(rules .. '/config.json', config.install), "could not read JSON data")
|
|
-- assert(0 == read_xml(confdir .. rules .. 'rules.xml', confdir .. rules .. 'catalog.xml'), "could not load XML data, did you compile with LIBXML2 ?")
|
|
-- assert(0 == read_xml(confdir .. rules .. 'locales.xml', confdir .. rules .. 'catalog.xml'), "could not load XML data, did you compile with LIBXML2 ?")
|
|
end
|
|
|
|
eressea.game.reset()
|