1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
This commit is contained in:
Unknown 2014-03-21 03:36:26 -04:00
parent c1576b4c40
commit c2816afe9c

View file

@ -45,6 +45,10 @@ func In(b string, sl map[string]int) bool {
} }
func runServ(*cli.Context) { func runServ(*cli.Context) {
base.NewConfigContext()
models.LoadModelsConfig()
models.NewEngine()
keys := strings.Split(os.Args[2], "-") keys := strings.Split(os.Args[2], "-")
if len(keys) != 2 { if len(keys) != 2 {
fmt.Println("auth file format error") fmt.Println("auth file format error")