diff --git a/core/layout/mail.php b/core/layout/mail.php index fc50b94..78c512f 100644 --- a/core/layout/mail.php +++ b/core/layout/mail.php @@ -103,8 +103,7 @@ getData(['module', $this->getUrl(0), 'config', 'signature' ]) === 'logo' && is_file( 'site/file/source/'. $this->getData(['module', $this->getUrl(0), 'config', 'logoUrl' ]))){ $imageFile = helper::baseUrl(false).'site/file/source/'. $this->getData(['module', $this->getUrl(0), 'config', 'logoUrl' ]) ; - $imageBase64 = base64_encode(file_get_contents($imageFile)); - ?> + ?>logo setData(['module', $this->getUrl(0), 'config', 'uploadTxt',false]); $this->setData(['module', $this->getUrl(0), 'config', 'versionData','4.1']); } - if( version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '4.5', '<') ){ - $this->setData(['module', $this->getUrl(0), 'config', 'versionData', '4.5']); + if( version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '4.6', '<') ){ + $this->setData(['module', $this->getUrl(0), 'config', 'versionData', '4.6']); } } @@ -375,6 +375,7 @@ class form extends common { $data = []; $replyTo = null; $content = ''; + $file_name = ''; // $notice concerne la pièce jointe et le captcha $notice = ''; foreach($this->getData(['module', $this->getUrl(0), 'input']) as $index => $input) {