forked from forgejo/forgejo
rename variable + fix wiki link
This commit is contained in:
parent
9d66497abc
commit
93f1eabe30
4 changed files with 8 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue