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

fix config bug

This commit is contained in:
astaxie 2013-09-10 14:47:48 +08:00
parent 4a329db792
commit 83e26fdc9b

View File

@ -85,7 +85,7 @@ func init() {
} }
func ParseConfig() (err error) { func ParseConfig() (err error) {
AppConfig, err := config.NewConfig("ini", AppConfigPath) AppConfig, err = config.NewConfig("ini", AppConfigPath)
if err != nil { if err != nil {
return err return err
} else { } else {