src/WebDAVAdapter.php
function removePathPrefix($path)
    {
        if (strpos($path, $this->getPathPrefix()) === false) {
            return basename($path);
        }

        return parent::removePathPrefix($path);
    }
function removePathPrefix($path)
    {
        if (strpos($path, $this->getPathPrefix()) === false) {
            return basename($path);
        }

        return parent::removePathPrefix($path);
    }
function removePathPrefix ( $ path ) { if ( strpos ( $ path , $ this -> getPathPrefix ( ) ) === false ) { return basename ( $ path ) ; } return parent :: removePathPrefix ( $ path ) ; }
Remove a path prefix.

@param string $path

@return string path without the prefix
Remove a path prefix .