From fd4b123e88e8a106dc0f43db9e9d59c877b2d799 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 11 May 2014 11:18:10 -0400 Subject: Fix #94 and fix #169 --- modules/base/conf.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/base/conf.go') diff --git a/modules/base/conf.go b/modules/base/conf.go index 88085172..99bac900 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -49,6 +49,7 @@ var ( AppName string AppLogo string AppUrl string + SshPort int OfflineMode bool DisableRouterLog bool ProdMode bool @@ -330,6 +331,7 @@ func NewConfigContext() { AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png") AppUrl = Cfg.MustValue("server", "ROOT_URL") Domain = Cfg.MustValue("server", "DOMAIN") + SshPort = Cfg.MustInt("server", "SSH_PORT", 22) OfflineMode = Cfg.MustBool("server", "OFFLINE_MODE", false) DisableRouterLog = Cfg.MustBool("server", "DISABLE_ROUTER_LOG", false) SecretKey = Cfg.MustValue("security", "SECRET_KEY") -- cgit v1.2.3