Skip to content

Node.js based forum software built for the modern web

fixed automated setup bug

psychobunny8496bdcff61c
diff --git a/src/install.js b/src/install.js
index 1420856ce8..b133c68438 100644
--- a/src/install.js
+++ b/src/install.js
@@ -150,7 +150,10 @@ function setupConfig(next) {
} else {
// Use provided values, fall back to defaults
var config = {},
- question, x, numQ, allQuestions = questions.main.concat(questions.redis).concat(questions.mongo.concat(questions.level));
+ redisQuestions = require('./database/redis').questions,
+ mongoQuestions = require('./database/mongo').questions,
+ levelQuestions = require('./database/level').questions,
+ question, x, numQ, allQuestions = questions.main.concat(redisQuestions).concat(mongoQuestions.concat(levelQuestions));
for(x=0,numQ=allQuestions.length;x<numQ;x++) {
question = allQuestions[x];