Merge branch 'develop' of gitlab.antadis.fr:dev-antadis/bebeboutik into develop
This commit is contained in:
commit
6f6c61da9f
@ -10,6 +10,7 @@ class Process
|
||||
public function __construct()
|
||||
{
|
||||
$this->mail_dir = dirname(__FILE__);
|
||||
var_dump($this->mail_dir);
|
||||
|
||||
$_to = Db::getInstance()->ExecuteS('SELECT `email`, `type` FROM `'._DB_PREFIX_.'contactform_email`');
|
||||
foreach ($_to as $k => $email) {
|
||||
@ -56,13 +57,7 @@ class Process
|
||||
'provider',
|
||||
'Contact fournisseur',
|
||||
$this->data,
|
||||
$this->to_provider,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
$this->mail_dir
|
||||
$this->to_provider
|
||||
);
|
||||
if (!$sended) {
|
||||
$errors[] = Tools::displayError('Une erreur s\'est produite. Votre message n\'a pas été envoyé');
|
||||
@ -110,13 +105,7 @@ class Process
|
||||
'press',
|
||||
'Contact presse',
|
||||
$this->data,
|
||||
$this->to_press,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
$this->mail_dir
|
||||
$this->to_press
|
||||
);
|
||||
if (!$sended) {
|
||||
$errors[] = Tools::displayError('Une erreur s\'est produite. Votre message n\'a pas été envoyé');
|
||||
|
Loading…
Reference in New Issue
Block a user