source/Setup/Utilities.php
protected function _extractPath($aPath)
    {
        $sExtPath = '';
        $blBuildPath = false;
        for ($i = count($aPath); $i > 0; $i--) {
            $sDir = $aPath[$i - 1];
            if ($blBuildPath) {
                $sExtPath = $sDir . '/' . $sExtPath;
            }
            if (stristr($sDir, EditionPathProvider::SETUP_DIRECTORY)) {
                $blBuildPath = true;
            }
        }

        return $sExtPath;
    }
protected function _extractPath($aPath)
    {
        $sExtPath = '';
        $blBuildPath = false;
        for ($i = count($aPath); $i > 0; $i--) {
            $sDir = $aPath[$i - 1];
            if ($blBuildPath) {
                $sExtPath = $sDir . '/' . $sExtPath;
            }
            if (stristr($sDir, EditionPathProvider::SETUP_DIRECTORY)) {
                $blBuildPath = true;
            }
        }

        return $sExtPath;
    }
protected function _extractPath ( $ aPath ) { $ sExtPath = '' ; $ blBuildPath = false ; for ( $ i = count ( $ aPath ) ; $ i > 0 ; $ i -- ) { $ sDir = $ aPath [ $ i - 1 ] ; if ( $ blBuildPath ) { $ sExtPath = $ sDir . '/' . $ sExtPath ; } if ( stristr ( $ sDir , EditionPathProvider :: SETUP_DIRECTORY ) ) { $ blBuildPath = true ; } } return $ sExtPath ; }
Extracts install path

@param array $aPath path info array

@return string
Extracts install path