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 (
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 = ""
......
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