mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
check for defaultTheme on install
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user