Skip to content
Snippets Groups Projects
Commit ac6f085c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Corrige comptage dans suppression recursive

parent bf95f814
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,9 @@ $form = new Form($db);
print_fiche_titre($langs->trans("SystemToolsArea"),'','setup');
print "<br>";
//print "<br>";
print info_admin($langs->trans("SystemAreaForAdminOnly")).'<br>';
if ($message) print $message.'<br>';
......
......@@ -68,7 +68,7 @@ if ($_POST["action"]=='purge')
foreach($filesarray as $key => $value)
{
//print "x ".$filesarray[$key]['fullname']."<br>\n";
$count=dol_delete_dir_recursive($filesarray[$key]['fullname']);
$count+=dol_delete_dir_recursive($filesarray[$key]['fullname']);
}
}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment