Browse Source

🍻 Corrige la copie des fichiers

master
Shikiryu 2 years ago
parent
commit
1da668485f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cron.php

+ 1
- 1
cron.php 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);
}


Loading…
Cancel
Save