1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 10:01:28 +00:00

Merge pull request #227 from sdjc/patch-4

Update config.go
This commit is contained in:
astaxie 2013-09-28 07:09:59 -07:00
commit 904b37032c

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