diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-27 01:05:13 -0600 |
commit | 62d23e91541550d0478c4884696e918a0e818b4f (patch) | |
tree | 335e18b41b15a419233e5117d1cbc43fa66f2b5c /routers/admin/admin.go | |
parent | 59d0e73c3507296b31c8e741b44afc7bfe1eb695 (diff) | |
download | gitea-62d23e91541550d0478c4884696e918a0e818b4f.tar.gz gitea-62d23e91541550d0478c4884696e918a0e818b4f.zip |
HTTP no follow and offline mode
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 d0f737e645..fddd830185 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -139,9 +139,11 @@ func Config(ctx *middleware.Context) { ctx.Data["AppUrl"] = base.AppUrl ctx.Data["Domain"] = base.Domain + ctx.Data["OfflineMode"] = base.OfflineMode ctx.Data["RunUser"] = base.RunUser ctx.Data["RunMode"] = strings.Title(martini.Env) ctx.Data["RepoRootPath"] = base.RepoRootPath + ctx.Data["ScriptType"] = base.ScriptType ctx.Data["Service"] = base.Service |