From c2816afe9c60922b3468cece689c84e52e0ba11c Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 21 Mar 2014 03:36:26 -0400 Subject: [PATCH] Bug fix --- serve.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/serve.go b/serve.go index 2a17a334901..3ce8f9046cb 100644 --- a/serve.go +++ b/serve.go @@ -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")