mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	All configuration reload-able
This commit is contained in:
		@@ -41,10 +41,12 @@ var (
 | 
			
		||||
	LanguageIgns, Licenses []string
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
func LoadRepoConfig() {
 | 
			
		||||
	LanguageIgns = strings.Split(base.Cfg.MustValue("repository", "LANG_IGNS"), "|")
 | 
			
		||||
	Licenses = strings.Split(base.Cfg.MustValue("repository", "LICENSES"), "|")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewRepoContext() {
 | 
			
		||||
	zip.Verbose = false
 | 
			
		||||
 | 
			
		||||
	// Check if server has basic git setting.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user