1
0
Fork 0
forked from forgejo/forgejo

Add router log config option

This commit is contained in:
Unknown 2014-05-01 18:53:41 -04:00
parent 03c2468c2f
commit 100cd181bc
8 changed files with 32 additions and 9 deletions

View file

@ -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)