|
|
@ -294,7 +294,7 @@ class Filesystem
|
|
|
|
$result = true;
|
|
|
|
$result = true;
|
|
|
|
/** @var RecursiveDirectoryIterator $ri */
|
|
|
|
/** @var RecursiveDirectoryIterator $ri */
|
|
|
|
foreach ($ri as $file) {
|
|
|
|
foreach ($ri as $file) {
|
|
|
|
$targetPath = $target . DIRECTORY_SEPARATOR . $ri->getSubPathName();
|
|
|
|
$targetPath = $target . DIRECTORY_SEPARATOR . $ri->getSubPathname();
|
|
|
|
if ($file->isDir()) {
|
|
|
|
if ($file->isDir()) {
|
|
|
|
$this->ensureDirectoryExists($targetPath);
|
|
|
|
$this->ensureDirectoryExists($targetPath);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|