mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:40:55 +00:00
add session config
This commit is contained in:
parent
ce4fc7bfcd
commit
cb0c006cfa
@ -210,7 +210,7 @@ func parseConfig(appConfigPath string) (err error) {
|
|||||||
BConfig.RunMode = runMode
|
BConfig.RunMode = runMode
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, i := range []interface{}{BConfig, &BConfig.Listen, &BConfig.WebConfig, &BConfig.Log} {
|
for _, i := range []interface{}{BConfig, &BConfig.Listen, &BConfig.WebConfig, &BConfig.Log, &BConfig.WebConfig.Session} {
|
||||||
assignConfig(i, AppConfig)
|
assignConfig(i, AppConfig)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user