Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-09-29 01:07:13 +0400
committerRobin Appelman <icewind1991@gmail.com>2010-09-29 01:07:13 +0400
commit44946e208d22b0175fd14a3b1ac2a388bc3e58ba (patch)
treee4e0e6ca1873117bc60a6e32fe4cc26f3c8817dd /inc
parent3e77f3f56b53c9733f27408d1c31b5c2c29b3a39 (diff)
make paths returned by OC_FILESYSTEM::getTree relative to the fakeroot
Diffstat (limited to 'inc')
-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;
}