20,7 → 20,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: adsi_site.fonct.php,v 1.2 2004-07-06 17:08:01 jpm Exp $ |
// CVS : $Id: adsi_site.fonct.php,v 1.3 2004-09-23 16:51:27 jpm Exp $ |
/** |
* Bibliothèque de fonctions d'admininistration des projets |
* |
35,7 → 35,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2004-07-06 17:08:01 $ |
*@version $Revision: 1.3 $ $Date: 2004-09-23 16:51:27 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
259,7 → 259,7 |
// création de la connexion |
$ftp_conn = $objet_pear_ftp->connect(GEN_FTP_SERVEUR, GEN_FTP_PORT); |
// identification |
$ftp_login_result = $objet_pear_ftp->login(GEN_FTP_UTILISATEUR, GEN_FTP_MOT_DE_PASSE);; |
$ftp_login_result = $objet_pear_ftp->login(GEN_FTP_UTILISATEUR, GEN_FTP_MOT_DE_PASSE); |
// Gestion des erreurs ftp |
if ((PEAR::isError($ftp_conn) || PEAR::isError($ftp_login_result))) { |
die('ERREUR Génésia admin : impossible de se connecter par ftp.<br />'. |
266,7 → 266,9 |
'Serveur : '. GEN_FTP_SERVEUR .'<br />'. |
'Utilisateur : '. GEN_FTP_UTILISATEUR .'<br />'. |
'Ligne n° : '. __LINE__ .'<br />'. |
'Fichier n° : '. __FILE__ .'<br />'); |
'Fichier n° : '. __FILE__ .'<br />'. |
'Message erreur de connection : '.$ftp_conn->getMessage().'<br />'. |
'Message erreur de login : '.$ftp_login_result->getMessage()); |
} |
$chemin_squelettes = GEN_FTP_CHEMIN.GEN_CHEMIN_SITES.$aso_valeurs['gs_code_alpha'].'/'.$aso_valeurs['gs_ce_i18n'].'/'.GEN_DOSSIER_SQUELETTE.'/'; |
$tab_squelettes = $objet_pear_ftp->ls($chemin_squelettes); |
806,6 → 808,9 |
// +- Fin du code source --------------------------------------------------------------------------------+ |
/* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2004/07/06 17:08:01 jpm |
* Modification de la documentation pour une mailleur analyse par PhpDocumentor. |
* |
* Revision 1.1 2004/06/16 14:28:46 jpm |
* Changement de nom de Génésia en Papyrus. |
* Changement de l'arborescence. |