Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 306 → Rev 307

/trunk/papyrus/pap_initialise_auth.inc.php
21,7 → 21,7
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// | |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: pap_initialise_auth.inc.php,v 1.13 2005-02-22 18:27:24 jpm Exp $
// CVS : $Id: pap_initialise_auth.inc.php,v 1.14 2005-03-15 14:20:01 jpm Exp $
/**
* Initialisation de l'authentification.
*
37,7 → 37,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.13 $ $Date: 2005-02-22 18:27:24 $
*@version $Revision: 1.14 $ $Date: 2005-03-15 14:20:01 $
// +------------------------------------------------------------------------------------------------------+
*/
 
100,9 → 100,19
if ($ligne_auth->gsa_id_auth == $_GEN_commun['info_site']->gs_ce_auth) {
$_GEN_commun['info_auth_bdd'] = $tab_auth_bdd ;
}
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth]=array_merge($GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], $tab_auth_bdd);
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth] = array_merge($GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], $tab_auth_bdd);
$resultat_auth_bdd->free();
// Gestion des arguments de l'authentification
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->gsab_parametres)) {
$arguments = explode(' ', $GLOBALS['_GEN_commun']['info_auth_bdd']->gsab_parametres);
for ($i = 0; $i < count($arguments); $i++) {
$attr = explode('=', $arguments[$i]);
if ($attr[0] != '') {
$GLOBALS['_GEN_commun']['info_auth_bdd']->$attr[0] = (isset($attr[1]) ? $attr[1] : '');
}
}
}
} else if ($ligne_auth->gsa_ce_auth_ldap != 0) {
//Identification via LDAP :
$requete_auth_ldap = 'SELECT * '.
260,6 → 270,9
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.13 2005/02/22 18:27:24 jpm
* Changement de nom de variables.
*
* Revision 1.12 2004/12/15 15:24:45 alex
* suppression d'un notice
*