diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php index c613b0e4ef5..f90c89ff665 100644 --- a/htdocs/comm/action/rapport/index.php +++ b/htdocs/comm/action/rapport/index.php @@ -116,7 +116,7 @@ if ($resql) $name = "actions-".$obj->month."-".$obj->year.".pdf"; $relativepath= $name; - $file = $conf->action->dir_temp."/".$name; + $file = $conf->actions->dir_temp."/".$name; if (file_exists($file)) { diff --git a/htdocs/comm/action/rapport/rapport.pdf.php b/htdocs/comm/action/rapport/rapport.pdf.php index de49b01bf4c..f7a7a82a021 100644 --- a/htdocs/comm/action/rapport/rapport.pdf.php +++ b/htdocs/comm/action/rapport/rapport.pdf.php @@ -68,7 +68,7 @@ class CommActionRapport { global $user,$conf,$langs; - $dir = $conf->action->dir_temp."/"; + $dir = $conf->actions->dir_temp."/"; $file = $dir . "actions-".$this->month."-".$this->year.".pdf"; if (! file_exists($dir)) diff --git a/htdocs/document.php b/htdocs/document.php index 66bf2240b09..20fccd31066 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -222,7 +222,7 @@ if ($modulepart) //{ $accessallowed=1; //} - $original_file = $conf->action->dir_temp."/".$original_file; + $original_file = $conf->actions->dir_temp."/".$original_file; } // Wrapping pour les produits et services