From: Robin Appelman Date: Tue, 28 Sep 2010 21:07:13 +0000 (+0200) Subject: make paths returned by OC_FILESYSTEM::getTree relative to the fakeroot X-Git-Tag: v3.0~292 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=44946e208d22b0175fd14a3b1ac2a388bc3e58ba;p=nextcloud-server.git make paths returned by OC_FILESYSTEM::getTree relative to the fakeroot --- diff --git a/inc/lib_filesystem.php b/inc/lib_filesystem.php index 263b1d7a419..c8cbd1cb80d 100644 --- a/inc/lib_filesystem.php +++ b/inc/lib_filesystem.php @@ -363,6 +363,7 @@ class OC_FILESYSTEM{ $file=substr($file,1); } $file=$mp.$file; + $file=substr($file,strlen(self::$fakeRoot)); } return $return; }