diff --git a/app.js b/app.js index a081cd4fa3..750e128288 100644 --- a/app.js +++ b/app.js @@ -109,6 +109,9 @@ } else if (nconf.get('upgrade')) { meta = require('./src/meta.js'); + nconf.file({ + file: __dirname + '/config.json' + }); meta.configs.init(function () { require('./src/upgrade').upgrade();