1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-18 12:14:15 +00:00

Update config.go

This commit is contained in:
sdjc 2013-09-27 08:37:17 +08:00
parent 1eb87c5c59
commit 9ddbab59bb

View File

@ -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 = ""