| Line 18... |
Line 18... |
| 18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU General Public |
|
| 19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
| 20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 22... |
Line 22... |
| 22 |
|
22 |
|
| Line 23... |
Line 23... |
| 23 |
// CVS : $Id: projetControleur.class.php,v 1.38 2007-10-10 13:57:16 alexandre_tb Exp $
|
23 |
// CVS : $Id: projetControleur.class.php,v 1.39 2007-11-19 14:27:47 alexandre_tb Exp $
|
| 24 |
|
24 |
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Application projet
|
26 |
* Application projet
|
| Line 31... |
Line 31... |
| 31 |
//Auteur original :
|
31 |
//Auteur original :
|
| 32 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
32 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
| 33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
| 34 |
*@author Aucun
|
34 |
*@author Aucun
|
| 35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
| 36 |
*@version $Revision: 1.38 $
|
36 |
*@version $Revision: 1.39 $
|
| 37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
| 38 |
*/
|
38 |
*/
|
| Line 39... |
Line 39... |
| 39 |
|
39 |
|
| 40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 915... |
Line 915... |
| 915 |
if ($this->_id_repertoire == 0) $document->setIdRepertoire(0) ;
|
915 |
if ($this->_id_repertoire == 0) $document->setIdRepertoire(0) ;
|
| 916 |
$chemin_upload = $document->calculeCheminUploaded($projet->getNomRepertoire()) ;
|
916 |
$chemin_upload = $document->calculeCheminUploaded($projet->getNomRepertoire()) ;
|
| 917 |
$nom_repertoire = $document->enregistrerSQL($formulaire_repertoire->getSubmitValues(), $projet->getNomRepertoire()) ;
|
917 |
$nom_repertoire = $document->enregistrerSQL($formulaire_repertoire->getSubmitValues(), $projet->getNomRepertoire()) ;
|
| Line 918... |
Line 918... |
| 918 |
|
918 |
|
| 919 |
// La creation du repertoire sur le disque, chemin / nom_repertoire_projet / id_repertoire
|
919 |
// La creation du repertoire sur le disque, chemin / nom_repertoire_projet / id_repertoire
|
| 920 |
$GLOBALS['log'] .= '<br />chemin_upload:'.$chemin_upload.'<br />';
|
920 |
$GLOBALS['log'] = '<br />chemin_upload:'.$chemin_upload.'<br />';
|
| 921 |
$GLOBALS['log'] .= '<br />mkdir('.PROJET_CHEMIN_FICHIER.$chemin_upload.$nom_repertoire.')<br />';
|
921 |
$GLOBALS['log'] .= '<br />mkdir('.PROJET_CHEMIN_FICHIER.$chemin_upload.$nom_repertoire.')<br />';
|
| Line 922... |
Line 922... |
| 922 |
if (!mkdir (PROJET_CHEMIN_FICHIER.$chemin_upload.'/'.$nom_repertoire)) {
|
922 |
if (!mkdir (PROJET_CHEMIN_FICHIER.$chemin_upload.'/'.$nom_repertoire)) {
|
| 923 |
|
923 |
|