[9.2.10] Erreur dans RFM zip décompression erreur
This commit is contained in:
parent
2f4e5c0d18
commit
145f1649cb
3
core/vendor/filemanager/ajax_calls.php
vendored
3
core/vendor/filemanager/ajax_calls.php
vendored
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user