Browse Source

fix cache dep API broken

pull/801/merge
Unknwon 10 years ago
parent
commit
0f1ff9b1ad
  1. 2
      cmd/web.go

2
cmd/web.go

@ -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,

Loading…
Cancel
Save