finish mirror fix #63

This commit is contained in:
Unknown 2014-04-12 21:30:09 -04:00
parent 90f6aa8cd1
commit 9ffa8a4083
4 changed files with 49 additions and 4 deletions

View file

@ -18,6 +18,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/cron"
"github.com/gogits/gogs/modules/log"
"github.com/gogits/gogs/modules/mailer"
"github.com/gogits/gogs/modules/middleware"
@ -49,6 +50,7 @@ func GlobalInit() {
}
models.HasEngine = true
cron.NewCronContext()
}
base.NewServices()
checkRunMode()