diff options
author | Robin <robin@Amaya.(none)> | 2010-05-22 22:08:08 +0200 |
---|---|---|
committer | Robin <robin@Amaya.(none)> | 2010-05-22 22:08:08 +0200 |
commit | d909f91d07deae7e5e438496dee82075dae24cdb (patch) | |
tree | 3bc24bc6e72c9e9605afa74a06944a78ec9946dd /inc/lib_filesystem.php | |
parent | 086f060b9ebb16d0f28b50e472d849ba5332483a (diff) | |
download | nextcloud-server-d909f91d07deae7e5e438496dee82075dae24cdb.tar.gz nextcloud-server-d909f91d07deae7e5e438496dee82075dae24cdb.zip |
small webdav fixes
Diffstat (limited to 'inc/lib_filesystem.php')
-rwxr-xr-x | inc/lib_filesystem.php | 7 |
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; } } ?> |