Fix: Gnration des rapports action PDF dans mauvais repertoire
This commit is contained in:
parent
50447660f2
commit
9dc92eb1de
@ -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))
|
||||
{
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user