Subversion Repositories Applications.papyrus

Rev

Rev 1054 | Rev 1175 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1054 Rev 1172
Line 19... Line 19...
19
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | You should have received a copy of the GNU Lesser General Public                                     |
20
// | License along with this library; if not, write to the Free Software                                  |
20
// | License along with this library; if not, write to the Free Software                                  |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// |                                                                                                      |
22
// |                                                                                                      |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: pap_initialise_auth.inc.php,v 1.22 2006-11-20 17:29:42 jp_milcent Exp $
24
// CVS : $Id: pap_initialise_auth.inc.php,v 1.23 2006-12-14 15:01:05 jp_milcent Exp $
25
/**
25
/**
26
* Initialisation de l'authentification.
26
* Initialisation de l'authentification.
27
*
27
*
28
* Suite à la recherche des informations depuis la base de données nous initialisons
28
* Suite à la recherche des informations depuis la base de données nous initialisons
29
* l'authentification des utilisateurs si le site l'utilise.
29
* l'authentification des utilisateurs si le site l'utilise.
Line 35... Line 35...
35
//Auteur original :
35
//Auteur original :
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
37
//Autres auteurs :
37
//Autres auteurs :
38
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
38
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
39
*@copyright         Tela-Botanica 2000-2004
39
*@copyright         Tela-Botanica 2000-2004
40
*@version           $Revision: 1.22 $ $Date: 2006-11-20 17:29:42 $
40
*@version           $Revision: 1.23 $ $Date: 2006-12-14 15:01:05 $
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
*/
42
*/
Line 43... Line 43...
43
 
43
 
44
// +------------------------------------------------------------------------------------------------------+
44
// +------------------------------------------------------------------------------------------------------+
Line 187... Line 187...
187
        'Fichier : '. __FILE__ . '<br />');
187
        'Fichier : '. __FILE__ . '<br />');
188
}
188
}
Line 189... Line 189...
189
 
189
 
190
// +------------------------------------------------------------------------------------------------------+
190
// +------------------------------------------------------------------------------------------------------+
191
// Définition du nom de la session
191
// Définition du nom de la session
-
 
192
session_name(PAP_AUTH_SESSION_PREFIXE.$GLOBALS['_GEN_commun']['info_auth']->gsa_abreviation);
-
 
193
$GLOBALS['_GEN_commun']['pear_auth']->setSessionName(session_name());
-
 
194
$GLOBALS['_GEN_commun']['pear_auth']->setAdvancedSecurity(PAP_AUTH_SECURITE_AVANCEE);
192
$GLOBALS['_GEN_commun']['pear_auth']->setSessionname('gen_'.$GLOBALS['_GEN_commun']['info_auth']->gsa_abreviation);
195
 
193
// Démarage de la session
196
// Démarage de la session
Line 194... Line 197...
194
$GLOBALS['_GEN_commun']['pear_auth']->start();
197
$GLOBALS['_GEN_commun']['pear_auth']->start();
195
 
198
 
-
 
199
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
200
* $Log: not supported by cvs2svn $
-
 
201
* Revision 1.22  2006/11/20 17:29:42  jp_milcent
196
/* +--Fin du code ---------------------------------------------------------------------------------------+
202
* Suppression du code de gestion de l'identification Spip et Wikini car non fonctionnel et finalement géré dans les appli tierces.
197
* $Log: not supported by cvs2svn $
203
*
198
* Revision 1.21  2006/04/28 12:41:49  florian
204
* Revision 1.21  2006/04/28 12:41:49  florian
199
* corrections erreurs chemin
205
* corrections erreurs chemin
200
*
206
*