diff --git a/htdocs/telephonie/ligne/commande/archives.php b/htdocs/telephonie/ligne/commande/archives.php index 4c06ceca1f1..b9ac25c424f 100644 --- a/htdocs/telephonie/ligne/commande/archives.php +++ b/htdocs/telephonie/ligne/commande/archives.php @@ -94,7 +94,7 @@ if ($result) print "".$obj->firstname . " ".$obj->name."\n"; print "".$obj->nom."\n"; - $dir = DOL_DATA_ROOT . "/telephonie/ligne/commande/"; + $dir = $conf->telephonie->dir_output . "/ligne/commande/"; $encfile = urlencode($dir.$obj->filename); diff --git a/htdocs/telephonie/ligne/commande/commandetableur.class.php b/htdocs/telephonie/ligne/commande/commandetableur.class.php index 287650f44e3..65e72d591b5 100644 --- a/htdocs/telephonie/ligne/commande/commandetableur.class.php +++ b/htdocs/telephonie/ligne/commande/commandetableur.class.php @@ -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) {