mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 06:26:35 +02:00
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
This commit is contained in:
2
app.js
2
app.js
@@ -51,7 +51,7 @@ winston.info('This program comes with ABSOLUTELY NO WARRANTY.');
|
||||
winston.info('This is free software, and you are welcome to redistribute it under certain conditions.');
|
||||
winston.info('');
|
||||
|
||||
if (!fs.existsSync(__dirname + '/config.json') || (!nconf.get('setup') && !nconf.get('upgrade'))) {
|
||||
if (fs.existsSync(__dirname + '/config.json') && (!nconf.get('setup') && !nconf.get('upgrade'))) {
|
||||
// Load server-side config
|
||||
nconf.file({ file: __dirname + '/config.json'});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user