Enable MAIN_MAIL_ADD_INLINE_IMAGES_IF_DATA by default
This commit is contained in:
parent
8a70e0de72
commit
6aefc9edfc
@ -267,7 +267,7 @@ class CMailFile
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set atleastoneimage if there is at least one embedded file (into ->html_images)
|
// Set atleastoneimage if there is at least one embedded file (into ->html_images)
|
||||||
if ($findimg) {
|
if ($findimg > 0) {
|
||||||
foreach ($this->html_images as $i => $val) {
|
foreach ($this->html_images as $i => $val) {
|
||||||
if ($this->html_images[$i]) {
|
if ($this->html_images[$i]) {
|
||||||
$this->atleastoneimage = 1;
|
$this->atleastoneimage = 1;
|
||||||
|
|||||||
@ -923,6 +923,10 @@ class Conf
|
|||||||
// Note: Set MAIN_SECURITY_CSRF_TOKEN_RENEWAL_ON_EACH_CALL=1 to have a renewal of token at each page call instead of each session (not recommended)
|
// Note: Set MAIN_SECURITY_CSRF_TOKEN_RENEWAL_ON_EACH_CALL=1 to have a renewal of token at each page call instead of each session (not recommended)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($this->global->MAIN_MAIL_ADD_INLINE_IMAGES_IF_DATA)) {
|
||||||
|
$this->global->MAIN_MAIL_ADD_INLINE_IMAGES_IF_DATA = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (!defined('MAIN_ANTIVIRUS_BYPASS_COMMAND_AND_PARAM')) {
|
if (!defined('MAIN_ANTIVIRUS_BYPASS_COMMAND_AND_PARAM')) {
|
||||||
if (defined('MAIN_ANTIVIRUS_COMMAND')) {
|
if (defined('MAIN_ANTIVIRUS_COMMAND')) {
|
||||||
$this->global->MAIN_ANTIVIRUS_COMMAND = constant('MAIN_ANTIVIRUS_COMMAND');
|
$this->global->MAIN_ANTIVIRUS_COMMAND = constant('MAIN_ANTIVIRUS_COMMAND');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user