|
|
|
@@ -568,6 +568,11 @@ var ( |
|
|
|
}{} |
|
|
|
|
|
|
|
Warn_Notify_Mails []string |
|
|
|
|
|
|
|
Course = struct { |
|
|
|
OrgName string |
|
|
|
TeamName string |
|
|
|
}{} |
|
|
|
) |
|
|
|
|
|
|
|
// DateLang transforms standard language locale name to corresponding value in datetime plugin. |
|
|
|
@@ -1331,6 +1336,10 @@ func NewContext() { |
|
|
|
|
|
|
|
sec = Cfg.Section("warn_mail") |
|
|
|
Warn_Notify_Mails = strings.Split(sec.Key("mails").MustString(""), ",") |
|
|
|
|
|
|
|
sec = Cfg.Section("course") |
|
|
|
Course.OrgName = sec.Key("org_name").MustString("") |
|
|
|
Course.TeamName = sec.Key("team_name").MustString("") |
|
|
|
} |
|
|
|
|
|
|
|
func SetRadarMapConfig() { |
|
|
|
|