diff --git a/formulaires/joindre_document.php b/formulaires/joindre_document.php index e2e4194292ffdcb38e95d1c5965d4d83c413f75e..a8eee02f4c87983104335fc9c7fbd271762cc5fe 100644 --- a/formulaires/joindre_document.php +++ b/formulaires/joindre_document.php @@ -233,7 +233,7 @@ function formulaires_joindre_document_verifier_dist( } } - if (count($erreurs) and defined('_TMP_ZIP')) { + if (count($erreurs) and defined('_TMP_DIR')) { effacer_repertoire_temporaire(_TMP_DIR); } }