diff --git a/htdocs/soc.php b/htdocs/soc.php index 2f5b8ecccc6..41d2eafa643 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -1,7 +1,7 @@ - * Copyright (C) 2001-2003 Rodolphe Quiedeville - * +/* Copyright (C) 2001-2003 Rodolphe Quiedeville + * Copyright (C) 2003 Brian Fraval + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -198,12 +198,9 @@ elseif ($action == 'edit') /* * */ - - print '
'; - print ''; print ''; print ''; @@ -214,32 +211,6 @@ elseif ($action == 'edit') /* * */ - - clearstatcache(); - umask(0); - - $docdir = SOCIETE_OUTPUTDIR . "/$socid"; - $url = SOCIETE_OUTPUT_URL . "/$socid"; - - if (file_exists ($docdir)) - { - print 'Documents'; - } - else - { - - if (! @mkdir ($docdir, 0775)) - { - print "

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

[Editer]--