1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-24 19:10:17 +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

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) {