1
0
Fork 0
forked from forgejo/forgejo

Replace Gogs to Gitea in installation options

This commit is contained in:
Joubert RedRat 2016-11-07 11:26:13 -02:00 committed by Andrey Nering
parent f430d26f7e
commit 28bee28102
5 changed files with 415 additions and 415 deletions

View file

@ -493,7 +493,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"))
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gitea-repositories"))
forcePathSeparator(RepoRootPath)
if !filepath.IsAbs(RepoRootPath) {
RepoRootPath = path.Join(workDir, RepoRootPath)