Fix loading redbrick-interpreters.json file.
This commit is contained in:
parent
161fa1f980
commit
65061c090b
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -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());
|
||||
|
|
2
mod.info
2
mod.info
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"name": "DorianTech RedBrick CGI engine for SVR.JS",
|
||||
"version": "2.3.1"
|
||||
"version": "2.3.2"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue