summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-22 06:42:19 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-22 06:42:19 -0400
commit7a1ff8636c01844a501dd9cdca2c436d1b7826b7 (patch)
tree80391757c6ed9f704c7b6eb0bd875b6ddd9b2898 /routers/admin/admin.go
parent76cd448e7925997b60a54e8d9431ffd0826cc24e (diff)
downloadgitea-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.go3
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