1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-07 00:30:18 +00:00

not just export a variable

This commit is contained in:
youngsterxyf
2016-03-25 10:48:59 +08:00
parent 3300db832b
commit 56860d1fea
4 changed files with 10 additions and 14 deletions

View File

@ -100,7 +100,7 @@ func (lp *Provider) SessionInit(maxlifetime int64, savePath string) error {
nowLedis, err := ledis.Open(cfg)
c, err = nowLedis.Select(lp.db)
if err != nil {
session.SLogger.Println(err)
println(err)
return nil
}
return nil