1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 18:40:55 +00:00

Merge pull request #2319 from mlgd/patch-1

Remove a regression on AppPath
This commit is contained in:
astaxie 2016-12-23 20:03:32 +08:00 committed by GitHub
commit f9791c1221

View File

@ -144,9 +144,6 @@ func init() {
if err = parseConfig(appConfigPath); err != nil { if err = parseConfig(appConfigPath); err != nil {
panic(err) panic(err)
} }
if err = os.Chdir(AppPath); err != nil {
panic(err)
}
} }
func recoverPanic(ctx *context.Context) { func recoverPanic(ctx *context.Context) {