Qual: Removed deprecated function name.

This commit is contained in:
Laurent Destailleur
2012-02-19 18:34:22 +01:00
parent e903719c36
commit c4b845d60a
76 changed files with 88 additions and 94 deletions

View File

@@ -203,7 +203,7 @@ class modCommande extends DolibarrModules
//ODT template
require_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
$dirodt=DOL_DATA_ROOT.'/doctemplates/orders';
create_exdir($dirodt);
dol_mkdir($dirodt);
$src=DOL_DOCUMENT_ROOT.'/install/doctemplates/orders/template_order.odt'; $dest=$dirodt.'/template_order.odt';
$result=dol_copy($src,$dest,0,0);
if ($result < 0)