1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-02 16:35:19 +02:00

models: fix XORM API break

cmd/web.go: check version after load config
This commit is contained in:
Unknwon 2015-02-14 17:01:33 -05:00
parent a38e4a0b02
commit 685ed1f807
4 changed files with 4 additions and 5 deletions

View file

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