mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Show dashbard
This commit is contained in:
		@@ -100,7 +100,7 @@ func newService() {
 | 
			
		||||
	Service.EnableCacheAvatar = Cfg.MustBool("service", "ENABLE_CACHE_AVATAR", false)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewLogService() {
 | 
			
		||||
func newLogService() {
 | 
			
		||||
	// Get and check log mode.
 | 
			
		||||
	LogMode = Cfg.MustValue("log", "MODE", "console")
 | 
			
		||||
	modeSec := "log." + LogMode
 | 
			
		||||
@@ -296,7 +296,7 @@ func NewConfigContext() {
 | 
			
		||||
 | 
			
		||||
func NewServices() {
 | 
			
		||||
	newService()
 | 
			
		||||
	NewLogService()
 | 
			
		||||
	newLogService()
 | 
			
		||||
	newCacheService()
 | 
			
		||||
	newSessionService()
 | 
			
		||||
	newMailService()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user