Fix OrangeCircle not working in external web root setups

This commit is contained in:
Dorian Niemiec 2023-09-15 08:48:27 +02:00
parent 72b557489e
commit cb6d910470

View file

@ -11,7 +11,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
var scgiConf = {};
try {
scgiConf = JSON.parse(fs.readFileSync(__dirname + "/../../../orangecircle-config.json"));