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:
parent
4a329db792
commit
83e26fdc9b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user