This commit is contained in:
Unknown 2014-05-30 06:34:24 -04:00
parent 9085dfa426
commit 617bbe3fee
6 changed files with 27 additions and 24 deletions

View file

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