diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-30 06:34:24 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-30 06:34:24 -0400 |
commit | 617bbe3feec23f2c7cb5c32df8532999fda74203 (patch) | |
tree | 74b5cc06482fa823d2436015ad9b2df7117d93ef /cmd/web.go | |
parent | 9085dfa42663e826c405996a44729bb0428bb201 (diff) | |
download | gitea-617bbe3feec23f2c7cb5c32df8532999fda74203.tar.gz gitea-617bbe3feec23f2c7cb5c32df8532999fda74203.zip |
Fix #218
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index d8d9785f35..dc4daca085 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -47,7 +47,7 @@ func checkVersion() { log.Fatal("Fail to read 'templates/VERSION': %v", err) } if string(data) != setting.AppVer { - log.Fatal("Binary and static file version does not match, did you forget to recompile?") + log.Fatal("Binary and template file version does not match, did you forget to recompile?") } } @@ -64,8 +64,8 @@ func newMartini() *martini.ClassicMartini { } func runWeb(*cli.Context) { - checkVersion() routers.GlobalInit() + checkVersion() m := newMartini() |