diff --git a/htdocs/includes/modules/propale/pdf_propale_rouge.modules.php b/htdocs/includes/modules/propale/pdf_propale_rouge.modules.php index 9c90934dbd8..b82fe7be0a5 100644 --- a/htdocs/includes/modules/propale/pdf_propale_rouge.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_rouge.modules.php @@ -38,7 +38,7 @@ Class pdf_propale_rouge { if (defined("PROPALE_OUTPUTDIR")) { - $dir = PROPALE_OUTPUTDIR . "/" . $propale->ref . "/" ; + $dir = PROPALE_OUTPUTDIR . "/" . $propale->ref ; umask(0); if (! file_exists($dir)) { @@ -50,7 +50,7 @@ Class pdf_propale_rouge { print "PROPALE_OUTPUTDIR non définit !"; } - $file = $dir . $propale->ref . ".pdf"; + $file = $dir . "/" . $propale->ref . ".pdf"; if (file_exists($dir)) {