🍻 Corrige la copie des fichiers

This commit is contained in:
Shikiryu 2017-11-08 23:17:18 +01:00
parent 162987131b
commit 1da668485f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function copy_folder($from, $to)
foreach (new RecursiveIteratorIterator($directory) as $filename => $current) {
$source = $current->getPathName();
$destination = $to . $current->getFileName();
$destination = $to . '/' . $current->getFileName();
copy($source, $destination);
}