mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 08:43:34 +01:00
bug fixed
This commit is contained in:
parent
9750d5ed16
commit
87eb2c3665
@ -30,6 +30,9 @@ gogs serv provide access auth for repositories`,
|
||||
|
||||
// for command: ./gogs update
|
||||
func runUpdate(c *cli.Context) {
|
||||
base.NewConfigContext()
|
||||
models.LoadModelsConfig()
|
||||
models.NewEngine()
|
||||
//level := "0"
|
||||
//os.MkdirAll("log", os.ModePerm)
|
||||
//log.NewLogger(10000, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, "log/serv.log"))
|
||||
|
Loading…
Reference in New Issue
Block a user