bb795847 by astaxie

fix the not exist config file application

1 parent 54ba307f
...@@ -277,7 +277,7 @@ func init() { ...@@ -277,7 +277,7 @@ func init() {
277 SetLogFuncCall(true) 277 SetLogFuncCall(true)
278 278
279 err = ParseConfig() 279 err = ParseConfig()
280 if err != nil && !os.IsNotExist(err) { 280 if err != nil && os.IsNotExist(err) {
281 // for init if doesn't have app.conf will not panic 281 // for init if doesn't have app.conf will not panic
282 ac := config.NewFakeConfig() 282 ac := config.NewFakeConfig()
283 AppConfig = &beegoAppConfig{ac} 283 AppConfig = &beegoAppConfig{ac}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!