This commit is contained in:
Julian Lam
2014-05-01 15:06:20 -04:00
parent 3e296a42f7
commit 970b259e06
4 changed files with 22 additions and 13 deletions

View File

@@ -49,10 +49,10 @@ if(nconf.get('ssl')) {
meta.sounds.init();
});
async.series({
async.parallel({
themesData: meta.themes.get,
currentThemeData: function(next) {
db.getObjectFields('config', ['theme:type', 'theme:id', 'theme:staticDir', 'theme:templates'], next);
currentThemeId: function(next) {
db.getObjectField('config', 'theme:id', next);
}
}, function(err, data) {
middleware = middleware(app, data);