aboutsummaryrefslogtreecommitdiff
path: root/routers/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/routers/install.go b/routers/install.go
index b8b7dec1..b2c1d6ea 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -20,11 +20,12 @@ import (
"github.com/gogits/git-module"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/models/cron"
"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/markdown"
"github.com/gogits/gogs/modules/middleware"
"github.com/gogits/gogs/modules/setting"
"github.com/gogits/gogs/modules/ssh"
@@ -88,12 +89,12 @@ func GlobalInit() {
checkRunMode()
if setting.StartSSHServer {
- ssh.Listen(setting.SSHPort)
- log.Info("SSH server started on :%v", setting.SSHPort)
+ ssh.Listen(setting.SSHListenPort)
+ log.Info("SSH server started on :%v", setting.SSHListenPort)
}
// Build Sanitizer
- base.BuildSanitizer()
+ markdown.BuildSanitizer()
}
func InstallInit(ctx *middleware.Context) {