|
|
@ -515,7 +515,7 @@ func NewContext() { |
|
|
|
AttachmentAllowedTypes = strings.Replace(sec.Key("ALLOWED_TYPES").MustString("image/jpeg,image/png"), "|", ",", -1) |
|
|
|
AttachmentAllowedTypes = strings.Replace(sec.Key("ALLOWED_TYPES").MustString("image/jpeg,image/png"), "|", ",", -1) |
|
|
|
AttachmentMaxSize = sec.Key("MAX_SIZE").MustInt64(4) |
|
|
|
AttachmentMaxSize = sec.Key("MAX_SIZE").MustInt64(4) |
|
|
|
AttachmentMaxFiles = sec.Key("MAX_FILES").MustInt(5) |
|
|
|
AttachmentMaxFiles = sec.Key("MAX_FILES").MustInt(5) |
|
|
|
AttachmentEnabled = sec.Key("ENABLE").MustBool(true) |
|
|
|
AttachmentEnabled = sec.Key("ENABLED").MustBool(true) |
|
|
|
|
|
|
|
|
|
|
|
TimeFormat = map[string]string{ |
|
|
|
TimeFormat = map[string]string{ |
|
|
|
"ANSIC": time.ANSIC, |
|
|
|
"ANSIC": time.ANSIC, |
|
|
|