# HG changeset patch # User Kim Alvefur # Date 1572815949 -3600 # Node ID dbb8dae5826540d551035efbe4609319b268a5f8 # Parent 62a7042e0771e165b24d94169295af47cacd9d7e util.startup: Update config path (fixes #1430) diff -r 62a7042e0771 -r dbb8dae58265 util/startup.lua --- a/util/startup.lua Sat Nov 02 19:36:19 2019 +0100 +++ b/util/startup.lua Sun Nov 03 22:19:09 2019 +0100 @@ -33,7 +33,8 @@ if file then file:close(); prosody.config_file = filename; - CFG_CONFIGDIR = filename:match("^(.*)[\\/][^\\/]*$"); -- luacheck: ignore 111 + prosody.paths.config = filename:match("^(.*)[\\/][^\\/]*$"); + CFG_CONFIGDIR = prosody.paths.config; -- luacheck: ignore 111 break; end end