diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-22 06:42:19 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-22 06:42:19 -0400 |
commit | 7a1ff8636c01844a501dd9cdca2c436d1b7826b7 (patch) | |
tree | 80391757c6ed9f704c7b6eb0bd875b6ddd9b2898 /routers/admin/admin.go | |
parent | 76cd448e7925997b60a54e8d9431ffd0826cc24e (diff) | |
download | gitea-7a1ff8636c01844a501dd9cdca2c436d1b7826b7.tar.gz gitea-7a1ff8636c01844a501dd9cdca2c436d1b7826b7.zip |
Add config option: Picture cache path
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r-- | routers/admin/admin.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 2e19b99c10..25ed8981e0 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -70,6 +70,9 @@ func Config(ctx *middleware.Context) { ctx.Data["CacheAdapter"] = base.CacheAdapter ctx.Data["CacheConfig"] = base.CacheConfig + ctx.Data["PictureService"] = base.PictureService + ctx.Data["PictureRootPath"] = base.PictureRootPath + ctx.Data["LogMode"] = base.LogMode ctx.Data["LogConfig"] = base.LogConfig |