mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 02:46:04 +01:00 
			
		
		
		
	Refactor INI package (first step) (#25024)
The INI package has many bugs and quirks, and in fact it is unmaintained. This PR is the first step for the INI package refactoring: * Use Gitea's "config_provider" to provide INI access * Deprecate the INI package by golangci.yml rule
This commit is contained in:
		| @@ -201,7 +201,7 @@ func Init(opts *Options) { | ||||
| 		opts.CustomConf = CustomConf | ||||
| 	} | ||||
| 	var err error | ||||
| 	CfgProvider, err = newConfigProviderFromFile(opts) | ||||
| 	CfgProvider, err = NewConfigProviderFromFile(opts) | ||||
| 	if err != nil { | ||||
| 		log.Fatal("Init[%v]: %v", opts, err) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user