mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix bug in mkdir(), was passing the wrong path
This commit is contained in:
parent
b7c45ba240
commit
35d6051e9d
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
|||
} else {
|
||||
$source = $this->getSource($path);
|
||||
if ($source) {
|
||||
if (OC_SHARE::isWriteable($path)) {
|
||||
$target = OC_FILESYSTEM::getStorageMountPoint($this).$path;
|
||||
if (OC_SHARE::isWriteable($target)) {
|
||||
$storage = OC_FILESYSTEM::getStorage($source);
|
||||
return $storage->mkdir($this->getInternalPath($source));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue