forked from ZwiiCMS-Team/ZwiiCMS
makeThumb, dossiers récursifs
This commit is contained in:
parent
3356a5bd76
commit
ed83251e9a
@ -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) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user