Browse Source

bug fixed

pull/40/head
Lunny Xiao 11 years ago
parent
commit
87eb2c3665
  1. 3
      update.go

3
update.go

@ -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…
Cancel
Save