mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 16:30:54 +00:00
Merge pull request #2319 from mlgd/patch-1
Remove a regression on AppPath
This commit is contained in:
commit
f9791c1221
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user