diff options
author | Gibheer <gibheer@gmail.com> | 2015-11-18 23:12:42 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2015-11-18 23:12:42 +0100 |
commit | e347736c9eadc458a330359c361f19c4193e5f4b (patch) | |
tree | 1aa2ca7797de89faae2c8f7021fd57d10c3236f7 /modules/setting | |
parent | 56006da34b0e580e1585439b1ee603f8cbe36a48 (diff) | |
download | gitea-e347736c9eadc458a330359c361f19c4193e5f4b.tar.gz gitea-e347736c9eadc458a330359c361f19c4193e5f4b.zip |
fix old naming
This is the old naming of the variable and I forgot to fix it. It now
works and is tested.
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
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")) } |