Fix: Gnration des rapports action PDF dans mauvais repertoire

This commit is contained in:
Laurent Destailleur 2006-09-16 01:04:13 +00:00
parent 50447660f2
commit 9dc92eb1de
3 changed files with 3 additions and 3 deletions

View File

@ -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))
{

View File

@ -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))

View File

@ -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