X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dav%2FSabreDAV%2Flib%2FSabre%2FDAV%2FTree%2FFilesystem.php;fp=dav%2FSabreDAV%2Flib%2FSabre%2FDAV%2FTree%2FFilesystem.php;h=40580ae366fe235173661769fd408461e976e999;hb=fefee23e903a4d82944dcaf75b8953c5181a6ebf;hp=85a9ee317be3c43daa2495908e2800d119ddc11c;hpb=4a5e30ec845bcb756543f14c4d8e0b5a3138f2fc;p=friendica-addons.git diff --git a/dav/SabreDAV/lib/Sabre/DAV/Tree/Filesystem.php b/dav/SabreDAV/lib/Sabre/DAV/Tree/Filesystem.php index 85a9ee31..40580ae3 100644 --- a/dav/SabreDAV/lib/Sabre/DAV/Tree/Filesystem.php +++ b/dav/SabreDAV/lib/Sabre/DAV/Tree/Filesystem.php @@ -42,9 +42,9 @@ class Sabre_DAV_Tree_Filesystem extends Sabre_DAV_Tree { $realPath = $this->getRealPath($path); if (!file_exists($realPath)) throw new Sabre_DAV_Exception_NotFound('File at location ' . $realPath . ' not found'); if (is_dir($realPath)) { - return new Sabre_DAV_FS_Directory($path); + return new Sabre_DAV_FS_Directory($realPath); } else { - return new Sabre_DAV_FS_File($path); + return new Sabre_DAV_FS_File($realPath); } }