9ddbab59 by sdjc

Update config.go

1 parent 1eb87c5c
...@@ -53,7 +53,7 @@ var ( ...@@ -53,7 +53,7 @@ var (
53 func init() { 53 func init() {
54 os.Chdir(path.Dir(os.Args[0])) 54 os.Chdir(path.Dir(os.Args[0]))
55 BeeApp = NewApp() 55 BeeApp = NewApp()
56 AppPath, _ = os.Getwd() 56 AppPath = path.Dir(os.Args[0])
57 StaticDir = make(map[string]string) 57 StaticDir = make(map[string]string)
58 TemplateCache = make(map[string]*template.Template) 58 TemplateCache = make(map[string]*template.Template)
59 HttpAddr = "" 59 HttpAddr = ""
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!