diff --git a/src/WebDAVAdapter.php b/src/WebDAVAdapter.php index 92e29e6..89183c4 100644 --- a/src/WebDAVAdapter.php +++ b/src/WebDAVAdapter.php @@ -254,7 +254,7 @@ public function createDir($path, Config $config) $directories = explode('/', $path); if (count($directories) > 1) { $parentDirectories = array_splice($directories, 0, count($directories) - 1); - if (!$this->createDir(implode('/', $parentDirectories), $config)) { + if (!$this->createDir(implode('/', $parentDirectories) . '/', $config)) { return false; } }