mirror of
https://github.com/astaxie/beego.git
synced 2025-06-14 19:40:39 +00:00
change the globalInstance to read conf/app.conf
This commit is contained in:
@ -519,7 +519,7 @@ func (c *IniConfigContainer) Unmarshaler(prefix string, obj interface{}, opt ...
|
||||
func init() {
|
||||
Register("ini", &IniConfig{})
|
||||
|
||||
err := InitGlobalInstance("ini", "config/app.conf")
|
||||
err := InitGlobalInstance("ini", "conf/app.conf")
|
||||
if err != nil {
|
||||
logs.Warn("init global config instance failed. If you donot use this, just ignore it. ", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user