From e347736c9eadc458a330359c361f19c4193e5f4b Mon Sep 17 00:00:00 2001 From: Gibheer Date: Wed, 18 Nov 2015 23:12:42 +0100 Subject: [PATCH] fix old naming This is the old naming of the variable and I forgot to fix it. It now works and is tested. --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index fac0199074..c2b56b5b4c 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -426,7 +426,7 @@ func NewContext() { dateLangs = Cfg.Section("i18n.datelang").KeysHash() ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool() - EnableShowVersion = Cfg.Section("other").Key("ENABLE_SHOW_VERSION").MustBool() + ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool() HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt")) }