Skip to content

Node.js based forum software built for the modern web

check for defaultTheme on install

barisusakli3ea8d092aa9d
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);
});
}