[9.2.10] Erreur dans RFM zip décompression erreur

This commit is contained in:
fredtempez 2019-11-15 22:11:05 +01:00
parent 2f4e5c0d18
commit 145f1649cb

View File

@ -197,7 +197,8 @@ if(isset($_GET['action']))
$fileinfo = pathinfo($FullFileName['name']); $fileinfo = pathinfo($FullFileName['name']);
if (in_array(strtolower($fileinfo['extension']), $config['ext'])) if (in_array(strtolower($fileinfo['extension']), $config['ext']))
{ {
copy('zip://' . $path . '#' . $FullFileName['name'], $base_folder . $FullFileName['name']); //copy('zip://' . $path . '#' . $FullFileName['name'], $base_folder . $FullFileName['name']);
$zip->extractTo($base_folder , $FullFileName['name']);
} }
} }
} }