// small fix

This commit is contained in:
Rémi Gaillard
2013-07-11 17:04:29 +02:00
parent 20b5449231
commit d0cf8fce18

View File

@@ -474,7 +474,7 @@ class LinkCore
$shop = new Shop($id_shop);
$uri_path = Dispatcher::getInstance()->createUrl($controller, $id_lang, $request, false, '', $id_shop);
$url = ($ssl && $this->ssl_enable) ? Tools::getShopDomainSsl(true) : Tools::getShopDomain(true);
$url = ($ssl && $this->ssl_enable) ? 'https://' : 'http://';
$url .= $shop->domain.$shop->getBaseURI().$this->getLangLink($id_lang).ltrim($uri_path, '/');
return $url;