Commit 904b3703 authored by astaxie's avatar astaxie

Merge pull request #227 from sdjc/patch-4

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