fixing issue where upgrade path only applies db fixes to default redis host and port

v1.18.x
Julian Lam 12 years ago
parent 71bdd4608b
commit 727da38fb6

@ -93,9 +93,8 @@ if (fs.existsSync(__dirname + '/config.json') && (!nconf.get('setup') && !nconf.
});
} else if (nconf.get('upgrade')) {
var meta = require('./src/meta.js');
nconf.file({ file: __dirname + '/config.json'});
var meta = require('./src/meta.js');
meta.configs.init(function() {
require('./src/upgrade').upgrade();

Loading…
Cancel
Save