Qual: Utilisation de $conf->module->dir_output
This commit is contained in:
parent
6341a7a4fe
commit
de5057aee0
@ -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);
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user