Fix: Pb creation répertoire.
This commit is contained in:
parent
71df91f4e0
commit
6e420ec7d2
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user