makeThumb, dossiers récursifs

This commit is contained in:
Fred Tempez 2020-04-13 18:53:06 +02:00
parent 3356a5bd76
commit ed83251e9a

View File

@ -794,7 +794,7 @@ class common {
// Vérifier l'existence du dossier de destination.
$path = pathinfo($dest);
if (!is_dir($path['dirname'])) {
mkdir($path['dirname']);
mkdir($path['dirname'],755,true);
}
// Type d'image
switch(mime_content_type($src) ) {