mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 23:00:55 +00:00
Update config.go
This commit is contained in:
parent
1eb87c5c59
commit
9ddbab59bb
@ -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 = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user