diff --git a/core/core.php b/core/core.php index 4f5c7036..6b89b8d9 100644 --- a/core/core.php +++ b/core/core.php @@ -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) ) {