source/Setup/Utilities.php
public function extractRewriteBase($sUrl)
    {
        $sPath = "/";
        if (($aPathInfo = @parse_url($sUrl)) !== false) {
            if (isset($aPathInfo["path"])) {
                $sPath = $this->preparePath($aPathInfo["path"]);
            }
        }

        return $sPath;
    }
public function extractRewriteBase($sUrl)
    {
        $sPath = "/";
        if (($aPathInfo = @parse_url($sUrl)) !== false) {
            if (isset($aPathInfo["path"])) {
                $sPath = $this->preparePath($aPathInfo["path"]);
            }
        }

        return $sPath;
    }
public function extractRewriteBase ( $ sUrl ) { $ sPath = "/" ; if ( ( $ aPathInfo = @ parse_url ( $ sUrl ) ) !== false ) { if ( isset ( $ aPathInfo [ "path" ] ) ) { $ sPath = $ this -> preparePath ( $ aPathInfo [ "path" ] ) ; } } return $ sPath ; }
Extracts rewrite base path from url

@param string $sUrl user defined shop install url

@return string
Extracts rewrite base path from url