aboutsummaryrefslogtreecommitdiffstats
path: root/modules/base/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r--modules/base/conf.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index cfc85ff51e..23c7276bf1 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -50,6 +50,7 @@ var (
AppLogo string
AppUrl string
OfflineMode bool
+ RouterLog bool
ProdMode bool
Domain string
SecretKey string
@@ -327,6 +328,7 @@ func NewConfigContext() {
AppUrl = Cfg.MustValue("server", "ROOT_URL")
Domain = Cfg.MustValue("server", "DOMAIN")
OfflineMode = Cfg.MustBool("server", "OFFLINE_MODE", false)
+ RouterLog = Cfg.MustBool("server", "ROUTER_LOG", true)
SecretKey = Cfg.MustValue("security", "SECRET_KEY")
InstallLock = Cfg.MustBool("security", "INSTALL_LOCK", false)