From 326fd58dfb2ca49178743d062e4e2d47a2adb0a5 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 24 Jun 2003 14:57:48 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20message=20erreur=20lors=20de=20la=20cr?= =?UTF-8?q?=E9ation=20du=20r=E9pertoire=20de=20la=20soci=E9t=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php3 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/htdocs/soc.php3 b/htdocs/soc.php3 index 3412c82f196..17bebd8f132 100644 --- a/htdocs/soc.php3 +++ b/htdocs/soc.php3 @@ -214,10 +214,16 @@ elseif ($action == 'edit') else { - @mkdir ($docdir); - if (file_exists ($docdir)) + if (! @mkdir ($docdir)) { - print 'Documents'; + print "

Impossible de créer ".$docdir; + } + else + { + if (file_exists ($docdir)) + { + print 'Documents'; + } } } }