Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development
This commit is contained in:
@@ -113,14 +113,17 @@ class InstallControllerConsoleProcess extends InstallControllerConsole
|
|||||||
if (!$this->processSendEmail())
|
if (!$this->processSendEmail())
|
||||||
$this->printErrors();
|
$this->printErrors();
|
||||||
|
|
||||||
$params = http_build_query(array(
|
if ($this->datas->newsletter)
|
||||||
'email' => $this->datas->admin_email,
|
{
|
||||||
'method' => 'addMemberToNewsletter',
|
$params = http_build_query(array(
|
||||||
'language' => $this->datas->lang,
|
'email' => $this->datas->admin_email,
|
||||||
'visitorType' => 1,
|
'method' => 'addMemberToNewsletter',
|
||||||
'source' => 'installer'
|
'language' => $this->datas->lang,
|
||||||
));
|
'visitorType' => 1,
|
||||||
Tools::file_get_contents('http://www.prestashop.com/ajax/controller.php?'.$params);
|
'source' => 'installer'
|
||||||
|
));
|
||||||
|
Tools::file_get_contents('http://www.prestashop.com/ajax/controller.php?'.$params);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user