| Line 19... |
Line 19... |
| 19 |
// | |
|
19 |
// | |
|
| 20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
| 21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
| 22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
| 24 |
// CVS : $Id: adwi_wikini.fonct.php,v 1.5 2005-09-28 16:29:39 ddelon Exp $
|
24 |
// CVS : $Id: adwi_wikini.fonct.php,v 1.6 2006-04-28 12:41:26 florian Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Contient les fonctions de l'application gestion des Wikini
|
26 |
* Contient les fonctions de l'application gestion des Wikini
|
| 27 |
*
|
27 |
*
|
| 28 |
*
|
28 |
*
|
| 29 |
*
|
29 |
*
|
| Line 33... |
Line 33... |
| 33 |
//Auteur original :
|
33 |
//Auteur original :
|
| 34 |
*@author David Delon <david.delon@tela-botanica.org>
|
34 |
*@author David Delon <david.delon@tela-botanica.org>
|
| 35 |
//Autres auteurs :
|
35 |
//Autres auteurs :
|
| 36 |
*@author Aucun
|
36 |
*@author Aucun
|
| 37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
| 38 |
*@version $Revision: 1.5 $
|
38 |
*@version $Revision: 1.6 $
|
| 39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
| 40 |
*/
|
40 |
*/
|
| Line 41... |
Line 41... |
| 41 |
|
41 |
|
| 42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 312... |
Line 312... |
| 312 |
|
312 |
|
| Line 313... |
Line 313... |
| 313 |
$resultat = $objet_pear_ftp->put($fichier_config_source, $fichier_config_cible, false, FTP_BINARY);
|
313 |
$resultat = $objet_pear_ftp->put($fichier_config_source, $fichier_config_cible, false, FTP_BINARY);
|
| 314 |
|
314 |
|
| 315 |
if (PEAR::isError($resultat)) {
|
315 |
if (PEAR::isError($resultat)) {
|
| 316 |
$message = '<p class="pap_erreur"> ERREUR Papyrus admin : impossible de copier le wikini de reference par ftp.<br />'.
|
316 |
$message = '<p class="pap_erreur"> ERREUR Papyrus admin : impossible de copier le wikini de reference par ftp.<br />'.
|
| 317 |
'Fichier origine : '. $chemin_wikini_config .'<br />'.
|
317 |
'Fichier origine : '. $chemin_wikini_bibliotheque .'<br />'.
|
| 318 |
'Fichier copié : '. $chemin_wikini .'<br />'.
|
318 |
'Fichier copié : '. $chemin_wikini .'<br />'.
|
| 319 |
'Erreur origine : '. $resultat->getMessage() .'<br />'.
|
319 |
'Erreur origine : '. $resultat->getMessage() .'<br />'.
|
| 320 |
'Ligne n° : '. __LINE__ .'<br />'.
|
320 |
'Ligne n° : '. __LINE__ .'<br />'.
|
| Line 416... |
Line 416... |
| 416 |
|
416 |
|
| 417 |
|
417 |
|
| 418 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
418 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
419 |
*
|
| - |
|
420 |
* $Log: not supported by cvs2svn $
|
| - |
|
421 |
* Revision 1.5 2005/09/28 16:29:39 ddelon
|
| 419 |
*
|
422 |
* Merge modification projet
|
| 420 |
* $Log: not supported by cvs2svn $
|
423 |
*
|
| 421 |
* Revision 1.4 2005/09/09 09:37:17 ddelon
|
424 |
* Revision 1.4 2005/09/09 09:37:17 ddelon
|
| 422 |
* Integrateur Wikini et administration des Wikini
|
425 |
* Integrateur Wikini et administration des Wikini
|
| 423 |
*
|
426 |
*
|