diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-22 21:21:56 +0800 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-06-22 08:21:56 -0500 |
commit | 75b5be236a556822e053d3858b2564876c3c0e79 (patch) | |
tree | b2b4d1729903f2d3f4bc4123cc35fe1cfbd4da18 /routers/admin | |
parent | 32f1c41f288a654fc8e5642a6681bf492710da3e (diff) | |
download | gitea-75b5be236a556822e053d3858b2564876c3c0e79.tar.gz gitea-75b5be236a556822e053d3858b2564876c3c0e79.zip |
Display config file path on admin panel (#2030)
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 8ae4504847..3ce194f2b2 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -198,6 +198,7 @@ func Config(ctx *context.Context) { ctx.Data["PageIsAdmin"] = true ctx.Data["PageIsAdminConfig"] = true + ctx.Data["CustomConf"] = setting.CustomConf ctx.Data["AppUrl"] = setting.AppURL ctx.Data["Domain"] = setting.Domain ctx.Data["OfflineMode"] = setting.OfflineMode |