diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-04 11:37:15 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-04 11:37:15 -0500 |
commit | 0c5ba4573aecc9eaed669e9431a70a5d9f184b8d (patch) | |
tree | aaca06a83f8c6d827a728a9a672d53b7d2187464 /cmd | |
parent | 69a98236bdab4345c8b397a5a91f5e5abf745b42 (diff) |
fix session API broken and SQL pretection
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ func checkVersion() { log.Fatal(4, "Package i18n version is too old, did you forget to update?(github.com/macaron-contrib/i18n)") } sessionVer := git.MustParseVersion(session.Version()) - if sessionVer.LessThan(git.MustParseVersion("0.0.3")) { + if sessionVer.LessThan(git.MustParseVersion("0.0.5")) { log.Fatal(4, "Package session version is too old, did you forget to update?(github.com/macaron-contrib/session)") } } |