diff --git a/modules/setting/setting.go b/modules/setting/setting.go index fac01990..c2b56b5b 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")) }