1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 06:30:50 +00:00

Merge pull request #2267 from centos-ren/develop

Fix :supervisor work dir
This commit is contained in:
astaxie 2016-12-05 22:57:38 +08:00 committed by GitHub
commit d548ddeb5b

View File

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