mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +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');
|
process.stdout.write('Enabling default theme: Persona\n');
|
||||||
meta.themes.set({
|
meta.themes.set({
|
||||||
type: 'local',
|
type: 'local',
|
||||||
id: 'nodebb-theme-persona'
|
id: nconf.get('defaultTheme') || 'nodebb-theme-persona'
|
||||||
}, next);
|
}, next);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user