1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-23 19:14:14 +00:00

add session config

This commit is contained in:
JessonChan 2016-04-13 19:37:55 +08:00
parent ce4fc7bfcd
commit cb0c006cfa

View File

@ -210,7 +210,7 @@ func parseConfig(appConfigPath string) (err error) {
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)
}