Переглянути джерело

fix old naming

This is the old naming of the variable and I forgot to fix it. It now
works and is tested.
tags/v0.9.99
Gibheer 8 роки тому
джерело
коміт
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"))
}

Завантаження…
Відмінити
Зберегти