summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/model/config.go b/model/config.go
index c2b514c33..6c6cf90e9 100644
--- a/model/config.go
+++ b/model/config.go
@@ -152,6 +152,8 @@ const (
PLUGIN_SETTINGS_DEFAULT_DIRECTORY = "./plugins"
PLUGIN_SETTINGS_DEFAULT_CLIENT_DIRECTORY = "./client/plugins"
+ TIMEZONE_SETTINGS_DEFAULT_SUPPORTED_TIMEZONES_PATH = "timezones.json"
+
COMPLIANCE_EXPORT_TYPE_ACTIANCE = "actiance"
COMPLIANCE_EXPORT_TYPE_GLOBALRELAY = "globalrelay"
GLOBALRELAY_CUSTOMER_TYPE_A9 = "A9"
@@ -1728,7 +1730,7 @@ type TimezoneSettings struct {
func (s *TimezoneSettings) SetDefaults() {
if s.SupportedTimezonesPath == nil {
- s.SupportedTimezonesPath = NewString("timezones.json")
+ s.SupportedTimezonesPath = NewString(TIMEZONE_SETTINGS_DEFAULT_SUPPORTED_TIMEZONES_PATH)
}
}