[-] BO - fixed bug #PSCFV-9071 - PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL have not updated after updated Shop domain and SSL domain from Preferences > SEO & URLs
This commit is contained in:
@@ -529,6 +529,7 @@ class AdminMetaControllerCore extends AdminController
|
||||
{
|
||||
$this->url->domain = $value;
|
||||
$this->url->update();
|
||||
Configuration::updateGlobalValue('PS_SHOP_DOMAIN', $value);
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('This domain is not valid.');
|
||||
@@ -546,6 +547,7 @@ class AdminMetaControllerCore extends AdminController
|
||||
{
|
||||
$this->url->domain_ssl = $value;
|
||||
$this->url->update();
|
||||
Configuration::updateGlobalValue('PS_SHOP_DOMAIN_SSL', $value);
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('The SSL domain is not valid.');
|
||||
|
||||
Reference in New Issue
Block a user