aboutsummaryrefslogtreecommitdiffstats
path: root/inc/lib_filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-09-28 23:07:13 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-09-28 23:07:13 +0200
commit44946e208d22b0175fd14a3b1ac2a388bc3e58ba (patch)
treee4e0e6ca1873117bc60a6e32fe4cc26f3c8817dd /inc/lib_filesystem.php
parent3e77f3f56b53c9733f27408d1c31b5c2c29b3a39 (diff)
downloadnextcloud-server-44946e208d22b0175fd14a3b1ac2a388bc3e58ba.tar.gz
nextcloud-server-44946e208d22b0175fd14a3b1ac2a388bc3e58ba.zip
make paths returned by OC_FILESYSTEM::getTree relative to the fakeroot
Diffstat (limited to 'inc/lib_filesystem.php')
-rw-r--r--inc/lib_filesystem.php1
1 files changed, 1 insertions, 0 deletions
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;
}