added support for showSiteTitle in ACP, closes #1519

v1.18.x
Julian Lam 11 years ago
parent 7454fd53b9
commit 883cee31bc

@ -15,6 +15,7 @@ apiController.getConfig = function(req, res, next) {
config.relative_path = serverConfig.relative_path; config.relative_path = serverConfig.relative_path;
config.version = pkg.version; config.version = pkg.version;
config.siteTitle = meta.config.title || meta.config.browserTitle || 'NodeBB'; config.siteTitle = meta.config.title || meta.config.browserTitle || 'NodeBB';
config.showSiteTitle = meta.config.showSiteTitle === '1';
config.postDelay = meta.config.postDelay; config.postDelay = meta.config.postDelay;
config.minimumTitleLength = meta.config.minimumTitleLength; config.minimumTitleLength = meta.config.minimumTitleLength;
config.maximumTitleLength = meta.config.maximumTitleLength; config.maximumTitleLength = meta.config.maximumTitleLength;

Loading…
Cancel
Save