Fix wrong path
This commit is contained in:
parent
fb6aa8ce23
commit
bb248de083
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue