Qual: Utilisation de $conf->module->dir_output

This commit is contained in:
Laurent Destailleur 2004-12-04 23:51:40 +00:00
parent 6341a7a4fe
commit de5057aee0
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ if ($result)
print "<td>".$obj->firstname . " ".$obj->name."</td>\n";
print "<td>".$obj->nom."</td>\n";
$dir = DOL_DATA_ROOT . "/telephonie/ligne/commande/";
$dir = $conf->telephonie->dir_output . "/ligne/commande/";
$encfile = urlencode($dir.$obj->filename);

View File

@ -44,7 +44,7 @@ class CommandeTableur
$this->datef = "commande-".strftime("%d%b%y-%HH%M", $this->date);
$fname = DOL_DATA_ROOT ."/telephonie/ligne/commande/".$this->datef.".xls";
$fname = $conf->telephonie->dir_output . "/ligne/commande/".$this->datef.".xls";
if (strlen(trim($this->fournisseur->email_commande)) == 0)
{