mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Search bar for issues/pulls (#530)
This commit is contained in:
		@@ -18,6 +18,7 @@ import (
 | 
			
		||||
	"code.gitea.io/gitea/modules/setting"
 | 
			
		||||
	"code.gitea.io/gitea/modules/ssh"
 | 
			
		||||
	macaron "gopkg.in/macaron.v1"
 | 
			
		||||
	"code.gitea.io/gitea/modules/indexer"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func checkRunMode() {
 | 
			
		||||
@@ -36,6 +37,7 @@ func checkRunMode() {
 | 
			
		||||
func NewServices() {
 | 
			
		||||
	setting.NewServices()
 | 
			
		||||
	mailer.NewContext()
 | 
			
		||||
	indexer.NewContext()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GlobalInit is for global configuration reload-able.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user