Fix loading redbrick-interpreters.json file.

This commit is contained in:
Dorian Niemiec 2023-08-10 22:54:38 +02:00
parent a2b40a67ad
commit b54464e922
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e
".php": ["php-cgi"]
};
var exttointerpreteruser = {};
fs.readFile(__dirname + "/redbrick-interpreters.json", function (err, data) {
fs.readFile(__dirname + "/../../../redbrick-interpreters.json", function (err, data) {
if (!err) {
try {
exttointerpreteruser = JSON.parse(data.toString());

View file

@ -1,4 +1,4 @@
{
"name": "DorianTech RedBrick CGI engine for SVR.JS",
"version": "Nightly-GitMaster"
"version": "Nightly-GitMain"
}