Name of directory which is delete

This commit is contained in:
Michael RICOIS 2012-08-29 12:21:38 +00:00
parent 3c9fc9f7ea
commit a6a9001af5

View File

@ -110,8 +110,8 @@ function removeFile($path, $filePattern)
function removePatternInDir($path, $tabPattern)
{
foreach($tabPattern as $pattern) {
$result = removeFile($path, $pattern);
echo "Suppression fichiers ".$dir." : ";
echo "Suppression fichiers ".$path." : ";
$result = removeFile($path, $pattern);
if ($result === false){
echo "Erreur";
} else {