diff --git a/ecrire/inc_logos.php3 b/ecrire/inc_logos.php3 index ed97063fc019b70921bba814d272f25fa811427f..8c26b5ed0a1ba14591785efd03d703b794a5315d 100644 --- a/ecrire/inc_logos.php3 +++ b/ecrire/inc_logos.php3 @@ -205,7 +205,7 @@ function creer_vignette($image, $maxWidth, $maxHeight, $format, $destination, $p $formats_sortie = array('jpg','png','gif'); // si le doc n'est pas une image, refuser - if (!eregi(",$format,", ",$formats_graphiques,")) + if (!$force AND !eregi(",$format,", ",$formats_graphiques,")) return; // chercher un cache