Skip to content

Commit 5f302fd

Browse files
committed
Use of FireFS::makePath()
1 parent 89834bf commit 5f302fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FireFS/FireFS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ public function copy(string $path, string $new_path): bool
655655
$res = false;
656656

657657
foreach ($subfiles as $fileToCopyName => $fileToCopyPath) {
658-
$res = $this->copy("{$path}/{$fileToCopyName}", "{$new_path}/{$fileToCopyName}");
658+
$res = $this->copy($this->makePath(array($path, $fileToCopyName)), $this->makePath(array($new_path, $fileToCopyName)));
659659

660660
if (!$res)
661661
break;

0 commit comments

Comments
 (0)