add config and update locale
This commit is contained in:
parent
2be5837cb0
commit
63e6e31271
5 changed files with 11 additions and 8 deletions
File diff suppressed because one or more lines are too long
|
@ -360,7 +360,7 @@ func NewContext() {
|
|||
homeDir = strings.Replace(homeDir, "\\", "/", -1)
|
||||
|
||||
sec = Cfg.Section("repository")
|
||||
Repository.PullRequestQueueLength = 10000
|
||||
Repository.PullRequestQueueLength = sec.Key("PULL_REQUEST_QUEUE_LENGTH").MustInt(10000)
|
||||
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories"))
|
||||
forcePathSeparator(RepoRootPath)
|
||||
if !filepath.IsAbs(RepoRootPath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue