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;
|
||||
}
|
||||
|
||||
$filepath = __DIR__ . '/' . $filename;
|
||||
echo $filepath . '<br>';
|
||||
$filepath = $directory_wishthis_github . '/' . $filename;
|
||||
|
||||
if (is_file($filepath)) {
|
||||
echo 'Rename ' . $filepath . ' to ' . __DIR__ . '/' . $filename . '<br>';
|
||||
rename($filepath, __DIR__ . '/' . $filename);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue