|
|
@ -297,7 +297,7 @@ middleware.renderHeader = function(req, res, callback) {
|
|
|
|
templateValues.customCSS = results.customCSS;
|
|
|
|
templateValues.customCSS = results.customCSS;
|
|
|
|
templateValues.customJS = results.customJS;
|
|
|
|
templateValues.customJS = results.customJS;
|
|
|
|
templateValues.maintenanceHeader = parseInt(meta.config.maintenanceMode, 10) === 1 && !results.isAdmin;
|
|
|
|
templateValues.maintenanceHeader = parseInt(meta.config.maintenanceMode, 10) === 1 && !results.isAdmin;
|
|
|
|
templateValues.defaultLang = res.locals.config.defaultLang;
|
|
|
|
templateValues.defaultLang = meta.config.defaultLang || 'en_GB';
|
|
|
|
|
|
|
|
|
|
|
|
templateValues.template = {name: res.locals.template};
|
|
|
|
templateValues.template = {name: res.locals.template};
|
|
|
|
templateValues.template[res.locals.template] = true;
|
|
|
|
templateValues.template[res.locals.template] = true;
|
|
|
|