From 21c1b8d834c8f9a4c44861f5ac1388e10efe4928 Mon Sep 17 00:00:00 2001 From: Peter Mescalchin Date: Sat, 3 Jun 2017 17:02:55 +1000 Subject: conf: rename attachment toggle from ENABLE to ENABLED (#4474) --- pkg/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/setting') diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index 1b701d12..09bc4969 100644 --- a/pkg/setting/setting.go +++ b/pkg/setting/setting.go @@ -515,7 +515,7 @@ func NewContext() { AttachmentAllowedTypes = strings.Replace(sec.Key("ALLOWED_TYPES").MustString("image/jpeg,image/png"), "|", ",", -1) AttachmentMaxSize = sec.Key("MAX_SIZE").MustInt64(4) AttachmentMaxFiles = sec.Key("MAX_FILES").MustInt(5) - AttachmentEnabled = sec.Key("ENABLE").MustBool(true) + AttachmentEnabled = sec.Key("ENABLED").MustBool(true) TimeFormat = map[string]string{ "ANSIC": time.ANSIC, -- cgit v1.2.3