config.lua in the mods/ folder is no longer called due to conflicts with mod_security; it is now called in mods/core/config.lua

This commit is contained in:
Sokomine 2015-07-28 03:33:09 +02:00 committed by Vanessa Ezekowitz
parent 96993f6003
commit b823177a21

View File

@ -1,7 +1,7 @@
realtest = {}
dofile(minetest.get_modpath("core").."/default_config.lua")
local user_conf = minetest.get_modpath("core").."/../config.lua"
local user_conf = minetest.get_modpath("core").."/config.lua"
local f = io.open(user_conf)
if f then
dofile(user_conf)