|
|
|
@ -253,12 +253,6 @@ var async = require('async'),
|
|
|
|
|
}, {
|
|
|
|
|
field: 'chatMessagesToDisplay',
|
|
|
|
|
value: 50
|
|
|
|
|
}, {
|
|
|
|
|
field: 'theme:type',
|
|
|
|
|
value: 'local'
|
|
|
|
|
}, {
|
|
|
|
|
field: 'theme:id',
|
|
|
|
|
value: 'nodebb-theme-cerulean'
|
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
async.each(defaults, function (configObj, next) {
|
|
|
|
@ -282,6 +276,15 @@ var async = require('async'),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
function(next) {
|
|
|
|
|
var meta = require('./meta');
|
|
|
|
|
winston.info('Enabling default theme: Lavender');
|
|
|
|
|
|
|
|
|
|
meta.themes.set({
|
|
|
|
|
type: 'local',
|
|
|
|
|
id: 'nodebb-theme-lavender'
|
|
|
|
|
}, next);
|
|
|
|
|
},
|
|
|
|
|
function (next) {
|
|
|
|
|
// Check if an administrator needs to be created
|
|
|
|
|
var Groups = require('./groups');
|
|
|
|
|