From 3ea8d092aa9d3c452e56c3c165cceee01f105006 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 11 Sep 2015 16:46:07 -0400 Subject: [PATCH] check for defaultTheme on install --- src/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index 1b2fcdc97f..7915f2e5bf 100644 --- a/src/install.js +++ b/src/install.js @@ -287,7 +287,7 @@ function enableDefaultTheme(next) { process.stdout.write('Enabling default theme: Persona\n'); meta.themes.set({ type: 'local', - id: 'nodebb-theme-persona' + id: nconf.get('defaultTheme') || 'nodebb-theme-persona' }, next); }); }