diff options
author | Unknwon <u@gogs.io> | 2016-08-10 11:01:42 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-10 11:01:42 -0700 |
commit | b85927e488c330aeda261ab9b90cd0f9c41d6b11 (patch) | |
tree | 16cf956bf7b23e981813613c134398fe63e38d01 /routers/admin/admin.go | |
parent | 87b408a2e516bb992ff6a4c19da27fbdbc95ceb9 (diff) | |
download | gitea-b85927e488c330aeda261ab9b90cd0f9c41d6b11.tar.gz gitea-b85927e488c330aeda261ab9b90cd0f9c41d6b11.zip |
#3091 show Git configs on admin panel
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r-- | routers/admin/admin.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index b8eb6743d7..2838f6ee91 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -224,6 +224,8 @@ func Config(ctx *context.Context) { ctx.Data["DisableGravatar"] = setting.DisableGravatar ctx.Data["EnableFederatedAvatar"] = setting.EnableFederatedAvatar + ctx.Data["Git"] = setting.Git + type logger struct { Mode, Config string } |