aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
diff options
context:
space:
mode:
authorStefan-Code <Stefan-Code@users.noreply.github.com>2015-02-18 11:12:41 +0100
committerStefan-Code <Stefan-Code@users.noreply.github.com>2015-02-18 11:12:41 +0100
commitb508fb041ff83919eff6618a62658288745a2c1b (patch)
tree7fb4a602afe87800e7f24957d9702ce38bbea643 /cmd/web.go
parent1628ef4ba5120d338c0616e37153f9f9b2f8f236 (diff)
parenta307574fbcb58bed41017fb2262852327cf050d0 (diff)
Merge branch 'dev' of https://github.com/gogits/gogs into dev
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 3284acb9..4b06a882 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -166,12 +166,11 @@ func newMacaron() *macaron.Macaron {
}
func runWeb(ctx *cli.Context) {
- checkVersion()
-
if ctx.IsSet("config") {
setting.CustomConf = ctx.String("config")
}
routers.GlobalInit()
+ checkVersion()
m := newMacaron()