Fix: Pb creation répertoire.

This commit is contained in:
Laurent Destailleur 2005-06-28 21:49:05 +00:00
parent 71df91f4e0
commit 6e420ec7d2

View File

@ -75,11 +75,7 @@ if ($_GET["id"])
if (! file_exists($dir)) if (! file_exists($dir))
{ {
umask(0); if (! create_exdir($dir))
if(!file_exists($conf->produit->dir_images)) {
mkdir($conf->produit->dir_images);
}
if (! mkdir($dir, 0755))
{ {
$mesg = $langs->trans("ErrorCanNotCreateDir",$dir); $mesg = $langs->trans("ErrorCanNotCreateDir",$dir);
} }