소스 검색

fix old naming

This is the old naming of the variable and I forgot to fix it. It now
works and is tested.
Gibheer 9 년 전
부모
커밋
e347736c9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/setting/setting.go

+ 1 - 1
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"))
 }