From 5076bf98cd5baeed1973a9b8f140f13d6d3bd378 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 17 Oct 2003 17:44:28 +0000 Subject: [PATCH] Correction mkdir --- htdocs/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/install.php b/htdocs/install.php index d2581a8bdf7..d4877c8d7ce 100644 --- a/htdocs/install.php +++ b/htdocs/install.php @@ -2,6 +2,7 @@ if ($HTTP_POST_VARS["action"] == "set") { + umask(0); print '

Enregistrement des valeurs

'; print ''; @@ -88,7 +89,7 @@ if ($HTTP_POST_VARS["action"] == "set") } else { - if (! @mkdir($dir[$i])) + if (! @mkdir($dir[$i], 0755)) { print ""; $error++;
Impossible de créer : ".$dir[$i]."Erreur