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())
|
||||
$this->printErrors();
|
||||
|
||||
$params = http_build_query(array(
|
||||
'email' => $this->datas->admin_email,
|
||||
'method' => 'addMemberToNewsletter',
|
||||
'language' => $this->datas->lang,
|
||||
'visitorType' => 1,
|
||||
'source' => 'installer'
|
||||
));
|
||||
Tools::file_get_contents('http://www.prestashop.com/ajax/controller.php?'.$params);
|
||||
if ($this->datas->newsletter)
|
||||
{
|
||||
$params = http_build_query(array(
|
||||
'email' => $this->datas->admin_email,
|
||||
'method' => 'addMemberToNewsletter',
|
||||
'language' => $this->datas->lang,
|
||||
'visitorType' => 1,
|
||||
'source' => 'installer'
|
||||
));
|
||||
Tools::file_get_contents('http://www.prestashop.com/ajax/controller.php?'.$params);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user