904b3703 by astaxie

Merge pull request #227 from sdjc/patch-4

Update config.go
2 parents 8a37c30f 9ddbab59
......@@ -53,7 +53,7 @@ var (
func init() {
os.Chdir(path.Dir(os.Args[0]))
BeeApp = NewApp()
AppPath, _ = os.Getwd()
AppPath = path.Dir(os.Args[0])
StaticDir = make(map[string]string)
TemplateCache = make(map[string]*template.Template)
HttpAddr = ""
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!