aboutsummaryrefslogtreecommitdiffstats
path: root/inc/lib_filesystem.php
diff options
context:
space:
mode:
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;
}