fix cache dep API broken

This commit is contained in:
Unknwon 2014-12-31 17:08:57 +08:00
parent 63c1f9a23f
commit 0f1ff9b1ad
1 changed files with 3 additions and 3 deletions

View File

@ -127,8 +127,8 @@ func newMacaron() *macaron.Macaron {
}))
m.Use(cache.Cacher(cache.Options{
Adapter: setting.CacheAdapter,
AdapterConfig: setting.CacheConn,
Interval: setting.CacheInternal,
Conn: setting.CacheConn,
}))
m.Use(captcha.Captchaer(captcha.Options{
SubURL: setting.AppSubUrl,