source/Core/Config.php
public function getShopCurrentUrl($lang = null)
    {
        if ($this->isSsl()) {
            $url = $this->getSSLShopURL($lang);
        } else {
            $url = $this->getShopURL($lang);
        }

        return Registry::getUtilsUrl()->processUrl($url . 'index.php', false);
    }
public function getShopCurrentUrl($lang = null)
    {
        if ($this->isSsl()) {
            $url = $this->getSSLShopURL($lang);
        } else {
            $url = $this->getShopURL($lang);
        }

        return Registry::getUtilsUrl()->processUrl($url . 'index.php', false);
    }
public function getShopCurrentUrl ( $ lang = null ) { if ( $ this -> isSsl ( ) ) { $ url = $ this -> getSSLShopURL ( $ lang ) ; } else { $ url = $ this -> getShopURL ( $ lang ) ; } return Registry :: getUtilsUrl ( ) -> processUrl ( $ url . 'index.php' , false ) ; }
Returns SSL or not SSL shop URL with index.php and sid

@param int $lang language (optional)

@return string
Returns SSL or not SSL shop URL with index . php and sid