toutf8 improved & add max git diff lines
This commit is contained in:
parent
efb68a0a96
commit
ed84adb679
7 changed files with 63 additions and 35 deletions
|
@ -64,6 +64,7 @@ var (
|
|||
// Picture settings.
|
||||
PictureService string
|
||||
DisableGravatar bool
|
||||
MaxGitDiffLines int
|
||||
|
||||
// Log settings.
|
||||
LogRootPath string
|
||||
|
@ -241,6 +242,8 @@ func NewConfigContext() {
|
|||
[]string{"server"})
|
||||
DisableGravatar = Cfg.MustBool("picture", "DISABLE_GRAVATAR")
|
||||
|
||||
MaxGitDiffLines = Cfg.MustInt("git", "MAX_GITDIFF_LINES", 5000)
|
||||
|
||||
Langs = Cfg.MustValueArray("i18n", "LANGS", ",")
|
||||
Names = Cfg.MustValueArray("i18n", "NAMES", ",")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue