mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
*actually* loading templates in the correct order 😑
This commit is contained in:
@@ -180,7 +180,7 @@ var fs = require('fs'),
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
async.each(plugins, function(plugin, next) {
|
||||
async.eachSeries(plugins, function(plugin, next) {
|
||||
if (plugin.templates || plugin.id.startsWith('nodebb-theme-')) {
|
||||
winston.verbose('[plugins] Loading templates (' + plugin.id + ')');
|
||||
var templatesPath = path.join(__dirname, '../node_modules', plugin.id, plugin.templates || 'templates');
|
||||
|
||||
Reference in New Issue
Block a user