From afbd0fe4c3ff81e398b44e6b25ac79dfc21bb961 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 15 Sep 2023 08:45:09 +0200 Subject: [PATCH] Fix RedBrick not working in external web root setups --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 76c2da3..8c9fdf2 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ try { } catch (ex) { // Can't determine version } -var configJSONS = JSON.parse(fs.readFileSync("config.json")); // Read configuration JSON +var configJSONS = JSON.parse(fs.readFileSync(__dirname + "/../../../config.json")); // Read configuration JSON function Mod() {}