mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Use IsProd instead of testing if it's equal. (#14336)
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -50,7 +50,7 @@ func checkRunMode() {
 | 
			
		||||
	default:
 | 
			
		||||
		macaron.Env = macaron.PROD
 | 
			
		||||
		macaron.ColorLog = false
 | 
			
		||||
		setting.ProdMode = true
 | 
			
		||||
		git.Debug = false
 | 
			
		||||
	}
 | 
			
		||||
	log.Info("Run Mode: %s", strings.Title(macaron.Env))
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user