protected static function retrieveInstallPath()
    {
        $path1 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('src', 'Doozr', 'Installer', 'Base.php')
            );

        $path2 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('vendor', 'clickalicious', 'doozr')
            );

        $path = str_replace($path1, '', __FILE__);
        $path = str_replace($path2, '', $path);

        return realpath($path);
    }
protected static function retrieveInstallPath()
    {
        $path1 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('src', 'Doozr', 'Installer', 'Base.php')
            );

        $path2 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('vendor', 'clickalicious', 'doozr')
            );

        $path = str_replace($path1, '', __FILE__);
        $path = str_replace($path2, '', $path);

        return realpath($path);
    }
protected static function retrieveInstallPath ( ) { $ path1 = DIRECTORY_SEPARATOR . implode ( DIRECTORY_SEPARATOR , array ( 'src' , 'Doozr' , 'Installer' , 'Base.php' ) ) ; $ path2 = DIRECTORY_SEPARATOR . implode ( DIRECTORY_SEPARATOR , array ( 'vendor' , 'clickalicious' , 'doozr' ) ) ; $ path = str_replace ( $ path1 , '' , __FILE__ ) ; $ path = str_replace ( $ path2 , '' , $ path ) ; return realpath ( $ path ) ; }
Returns install path relative to current path.

@author Benjamin Carl <opensource@clickalicious.de>
@return string The install path
@access protected
Returns install path relative to current path .