Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dudarev Ilia committed Aug 14, 2018
1 parent 60ad482 commit c716e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebDAVAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c716e6e

Please sign in to comment.