This commit is contained in:
Unknown 2014-05-28 01:53:06 -04:00
parent ff690fd976
commit ab13a29cb5
13 changed files with 71 additions and 59 deletions

View file

@ -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