From 9dc92eb1de5eabd4152c589d92d1d21f230a246c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Sep 2006 01:04:13 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20G=E9n=E9ration=20des=20rapports=20action?= =?UTF-8?q?=20PDF=20dans=20mauvais=20repertoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/action/rapport/index.php | 2 +- htdocs/comm/action/rapport/rapport.pdf.php | 2 +- htdocs/document.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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