remove more from config

This commit is contained in:
barisusakli
2016-02-10 12:53:39 +02:00
parent 5ac02a59ac
commit d7df6c0b06
12 changed files with 41 additions and 41 deletions

View File

@@ -130,6 +130,8 @@ module.exports = function(app, middleware) {
templateValues.customJS = templateValues.useCustomJS ? meta.config.customJS : '';
templateValues.maintenanceHeader = parseInt(meta.config.maintenanceMode, 10) === 1 && !results.isAdmin;
templateValues.defaultLang = meta.config.defaultLang || 'en_GB';
templateValues.privateUserInfo = parseInt(meta.config.privateUserInfo, 10) === 1;
templateValues.privateTagListing = parseInt(meta.config.privateTagListing, 10) === 1;
templateValues.template = {name: res.locals.template};
templateValues.template[res.locals.template] = true;