summaryrefslogtreecommitdiffstats
path: root/inc/lib_filesystem.php
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-05-22 22:08:08 +0200
committerRobin <robin@Amaya.(none)>2010-05-22 22:08:08 +0200
commitd909f91d07deae7e5e438496dee82075dae24cdb (patch)
tree3bc24bc6e72c9e9605afa74a06944a78ec9946dd /inc/lib_filesystem.php
parent086f060b9ebb16d0f28b50e472d849ba5332483a (diff)
downloadnextcloud-server-d909f91d07deae7e5e438496dee82075dae24cdb.tar.gz
nextcloud-server-d909f91d07deae7e5e438496dee82075dae24cdb.zip
small webdav fixes
Diffstat (limited to 'inc/lib_filesystem.php')
-rwxr-xr-xinc/lib_filesystem.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/inc/lib_filesystem.php b/inc/lib_filesystem.php
index 934da6b0e3e..1e50ab34ae9 100755
--- a/inc/lib_filesystem.php
+++ b/inc/lib_filesystem.php
@@ -258,8 +258,13 @@ class OC_FILESYSTEM{
}
static public function find($path){
if($storage=self::getStorage($path)){
- return $storage->find(substr($path,strlen(self::getMountPoint($path))));
+ $mp=self::getMountPoint($path);
+ $return=$storage->find(substr($path,strlen($mp)));
+ foreach($return as &$file){
+ $file=$mp.$file;
+ }
}
+ return $return;
}
}
?>