Fix OrangeCircle not working in external web root setups
This commit is contained in:
parent
72b557489e
commit
cb6d910470
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -11,7 +11,7 @@ try {
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
// Can't determine version
|
// 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 = {};
|
var scgiConf = {};
|
||||||
try {
|
try {
|
||||||
scgiConf = JSON.parse(fs.readFileSync(__dirname + "/../../../orangecircle-config.json"));
|
scgiConf = JSON.parse(fs.readFileSync(__dirname + "/../../../orangecircle-config.json"));
|
||||||
|
|
Loading…
Reference in a new issue