diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-03 18:01:05 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-03 18:25:49 +0200 |
commit | aec6eea235526644be4e0642dd59a3b5f8e9c0e3 (patch) | |
tree | 82ca399c610bed73d6c87d77aa505021a19f5098 /lib/filesystem.php | |
parent | 4bc9e4e012fa0ee4300ec26d020d2b27b032ff6a (diff) | |
download | nextcloud-server-aec6eea235526644be4e0642dd59a3b5f8e9c0e3.tar.gz nextcloud-server-aec6eea235526644be4e0642dd59a3b5f8e9c0e3.zip |
use filesystem abstraction layer to copy file versions
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 0ab3bd69acd..65318fa3ab6 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -153,6 +153,7 @@ class OC_Filesystem{ if($path[0]!=='/'){ $path='/'.$path; } + $path=str_replace('//', '/',$path); $foundMountPoint=''; foreach(OC_Filesystem::$mounts as $mountpoint=>$storage){ if($mountpoint==$path){ |