From 883cee31bcbbe29a1a410cc5af0fb1e6c179b2a9 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 23 Jul 2014 17:11:45 -0400 Subject: [PATCH] added support for showSiteTitle in ACP, closes #1519 --- src/controllers/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/api.js b/src/controllers/api.js index 0945ee2c55..f8522dadf1 100644 --- a/src/controllers/api.js +++ b/src/controllers/api.js @@ -15,6 +15,7 @@ apiController.getConfig = function(req, res, next) { config.relative_path = serverConfig.relative_path; config.version = pkg.version; config.siteTitle = meta.config.title || meta.config.browserTitle || 'NodeBB'; + config.showSiteTitle = meta.config.showSiteTitle === '1'; config.postDelay = meta.config.postDelay; config.minimumTitleLength = meta.config.minimumTitleLength; config.maximumTitleLength = meta.config.maximumTitleLength;