mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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)
|
||||
if ($findimg) {
|
||||
if ($findimg > 0) {
|
||||
foreach ($this->html_images as $i => $val) {
|
||||
if ($this->html_images[$i]) {
|
||||
$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)
|
||||
}
|
||||
|
||||
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_COMMAND')) {
|
||||
$this->global->MAIN_ANTIVIRUS_COMMAND = constant('MAIN_ANTIVIRUS_COMMAND');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user