mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-27 00:23:41 +09:00
Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
This commit is contained in:
@@ -43,6 +43,7 @@ func runPR() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
setting.SetCustomPathAndConf("", "")
|
||||
setting.NewContext()
|
||||
|
||||
setting.RepoRootPath, err = ioutil.TempDir(os.TempDir(), "repos")
|
||||
|
||||
Reference in New Issue
Block a user