From 617bbe3feec23f2c7cb5c32df8532999fda74203 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 30 May 2014 06:34:24 -0400 Subject: Fix #218 --- cmd/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/web.go b/cmd/web.go index d8d9785f..dc4daca0 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() -- cgit v1.2.3