diff --git a/inc/joindre_document.php b/inc/joindre_document.php index 68d26d0aaf797d4eacdbb394f1b18446ddff24ef..6420512d4391054f31a7d9e2fcce215f73997c18 100644 --- a/inc/joindre_document.php +++ b/inc/joindre_document.php @@ -115,6 +115,7 @@ function joindre_trouver_fichier_envoye(){ } } elseif (_request('joindre_zip') AND $path = _request('chemin_zip')){ + include_spip('inc/documents'); //pour creer_repertoire_documents define('_tmp_dir', creer_repertoire_documents(md5($path.$GLOBALS['visiteur_session']['id_auteur']))); if (_tmp_dir == _DIR_IMG) return _T('avis_operation_impossible');