1
0
Fork 0
forked from forgejo/forgejo

rename variable + fix wiki link

This commit is contained in:
Thibault Meyer 2016-10-04 18:58:14 +02:00
parent 9d66497abc
commit 93f1eabe30
No known key found for this signature in database
GPG key ID: C52D76D2CCF24933
4 changed files with 8 additions and 7 deletions

View file

@ -116,7 +116,7 @@ var (
MirrorQueueLength int
PullRequestQueueLength int
PreferredLicenses []string
DisableHttpGit bool
DisableHTTPGit bool
// Repository editor settings
Editor struct {
@ -491,6 +491,7 @@ func NewContext() {
// Determine and create root git repository path.
sec = Cfg.Section("repository")
Repository.DisableHTTPGit = sec.Key("DISABLE_HTTP_GIT").MustBool()
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories"))
forcePathSeparator(RepoRootPath)
if !filepath.IsAbs(RepoRootPath) {