public static function getInstallationPath()
    {
        self::setPackageDir();

        $path = realpath( self::$packageDir );
        if ( substr( $path, -1 ) !== DIRECTORY_SEPARATOR )
        {
            $path .= DIRECTORY_SEPARATOR;
        }
        return $path;
    }
public static function getInstallationPath()
    {
        self::setPackageDir();

        $path = realpath( self::$packageDir );
        if ( substr( $path, -1 ) !== DIRECTORY_SEPARATOR )
        {
            $path .= DIRECTORY_SEPARATOR;
        }
        return $path;
    }
public static function getInstallationPath ( ) { self :: setPackageDir ( ) ; $ path = realpath ( self :: $ packageDir ) ; if ( substr ( $ path , - 1 ) !== DIRECTORY_SEPARATOR ) { $ path .= DIRECTORY_SEPARATOR ; } return $ path ; }
Returns the base path of the eZ Components installation

This method returns the base path, including a trailing directory
separator.

@return string
Returns the base path of the eZ Components installation