diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-06 13:47:47 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-06 13:47:47 -0400 |
commit | 7cb5a15c9b7a2a118d756d15cb745743f207a318 (patch) | |
tree | dba01566116b8ad49f0762812ecb3ab96597090f /modules/base/conf.go | |
parent | e573855a4f040abd4aa6a2afa9ce610a1ec2670f (diff) |
Batch of mirror fixes
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r-- | modules/base/conf.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go index 73552732..cbd6532b 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -45,16 +45,16 @@ type Oauther struct { } var ( - AppVer string - AppName string - AppLogo string - AppUrl string - OfflineMode bool - RouterLog bool - ProdMode bool - Domain string - SecretKey string - RunUser string + AppVer string + AppName string + AppLogo string + AppUrl string + OfflineMode bool + DisableRouterLog bool + ProdMode bool + Domain string + SecretKey string + RunUser string RepoRootPath string ScriptType string @@ -330,7 +330,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) + DisableRouterLog = Cfg.MustBool("server", "DISABLE_ROUTER_LOG", false) SecretKey = Cfg.MustValue("security", "SECRET_KEY") InstallLock = Cfg.MustBool("security", "INSTALL_LOCK", false) |