No special chars in filename

This commit is contained in:
Laurent Destailleur
2008-10-25 21:18:53 +00:00
parent 5f55cb864e
commit dbae510665
64 changed files with 167 additions and 153 deletions

View File

@@ -140,7 +140,7 @@ class pdf_einstein extends ModelePDFCommandes
}
else
{
$comref = sanitize_string($com->ref);
$comref = sanitizeFileName($com->ref);
$dir = $conf->commande->dir_output . "/" . $comref;
$file = $dir . "/" . $comref . ".pdf";
}