This commit is contained in:
Laurent Destailleur 2020-09-10 15:52:09 +02:00
parent 1da99a8fcd
commit ed3f1c29ef

View File

@ -1183,6 +1183,7 @@ function dol_delete_file($file, $disableglob = 0, $nophperrors = 0, $nohook = 0,
$globencoded = str_replace(']', '\]', $globencoded);
dol_syslog("globencoded=".$globencoded);
$listofdir = glob($globencoded);
dol_syslog("listofdir=".joint(', ', $listofdir));
if (!empty($listofdir) && is_array($listofdir))
{
foreach ($listofdir as $filename)