aboutsummaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-28 01:53:06 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-28 01:53:06 -0400
commitab13a29cb530457328cf9d3a2511c2db1d5ccaca (patch)
treefae4cca0e4b24f81f7896b8f8dfab909c2e98bc8 /routers/admin
parentff690fd9760e0cfb5ae9e49aecb7a201f7ca8304 (diff)
downloadgitea-ab13a29cb530457328cf9d3a2511c2db1d5ccaca.tar.gz
gitea-ab13a29cb530457328cf9d3a2511c2db1d5ccaca.zip
Fix #209
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/admin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index a273847a28..6f8868a659 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -185,6 +185,8 @@ func Config(ctx *middleware.Context) {
ctx.Data["RunUser"] = setting.RunUser
ctx.Data["RunMode"] = strings.Title(martini.Env)
ctx.Data["RepoRootPath"] = setting.RepoRootPath
+ ctx.Data["StaticRootPath"] = setting.StaticRootPath
+ ctx.Data["LogRootPath"] = setting.LogRootPath
ctx.Data["ScriptType"] = setting.ScriptType
ctx.Data["Service"] = setting.Service