diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-21 03:36:26 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-21 03:36:26 -0400 |
commit | c2816afe9c60922b3468cece689c84e52e0ba11c (patch) | |
tree | a3acef30f204abf997ca75dab7b849e54384a28f /serve.go | |
parent | c1576b4c400376f22ec25012a6ca66e9c5539ee4 (diff) | |
download | gitea-c2816afe9c60922b3468cece689c84e52e0ba11c.tar.gz gitea-c2816afe9c60922b3468cece689c84e52e0ba11c.zip |
Bug fix
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,10 @@ func In(b string, sl map[string]int) bool { } func runServ(*cli.Context) { + base.NewConfigContext() + models.LoadModelsConfig() + models.NewEngine() + keys := strings.Split(os.Args[2], "-") if len(keys) != 2 { fmt.Println("auth file format error") |