Fix wrong path

This commit is contained in:
Jay Trees 2022-01-21 14:40:37 +01:00
parent fb6aa8ce23
commit bb248de083

View file

@ -106,10 +106,10 @@ if ($zip->open($zip_filename)) {
continue; continue;
} }
$filepath = __DIR__ . '/' . $filename; $filepath = $directory_wishthis_github . '/' . $filename;
echo $filepath . '<br>';
if (is_file($filepath)) { if (is_file($filepath)) {
echo 'Rename ' . $filepath . ' to ' . __DIR__ . '/' . $filename . '<br>';
rename($filepath, __DIR__ . '/' . $filename); rename($filepath, __DIR__ . '/' . $filename);
} }
} }