Browse Source

fix cache dep API broken

tags/v1.2.0-rc1
Unknwon 11 years ago
parent
commit
0f1ff9b1ad
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cmd/web.go

+ 3
- 3
cmd/web.go View File

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


Loading…
Cancel
Save