mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00: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