source/Core/UtilsUrl.php
public function addShopHost($sUrl)
    {
        if (!preg_match("#^https?://#i", $sUrl)) {
            $sShopUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->getSslShopUrl();
            $sUrl = $sShopUrl . $sUrl;
        }

        return $sUrl;
    }
public function addShopHost($sUrl)
    {
        if (!preg_match("#^https?://#i", $sUrl)) {
            $sShopUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->getSslShopUrl();
            $sUrl = $sShopUrl . $sUrl;
        }

        return $sUrl;
    }
public function addShopHost ( $ sUrl ) { if ( ! preg_match ( "#^https?://#i" , $ sUrl ) ) { $ sShopUrl = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getSslShopUrl ( ) ; $ sUrl = $ sShopUrl . $ sUrl ; } return $ sUrl ; }
Adds shop host if url does not start with it.

@param string $sUrl

@return string
Adds shop host if url does not start with it .