Subversion Repositories Applications.papyrus

Rev

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

Rev 67 Rev 112
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.3 2004-10-15 18:29:19 jpm Exp $
24
// CVS : $Id: pap_initialise_auth.inc.php,v 1.4 2004-10-25 16:28:47 jpm 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.3 $ $Date: 2004-10-15 18:29:19 $
40
*@version           $Revision: 1.4 $ $Date: 2004-10-25 16:28:47 $
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
*/
42
*/
Line 43... Line 43...
43
 
43
 
44
// +------------------------------------------------------------------------------------------------------+
44
// +------------------------------------------------------------------------------------------------------+
Line 81... Line 81...
81
} else {
81
} else {
82
    die('ERREUR Génésia : type identification introuvable. <br />'.
82
    die('ERREUR Génésia : type identification introuvable. <br />'.
83
        'Type identification : '.$_GEN_commun['info_auth']->gsa_ce_type_auth.'<br />'.
83
        'Type identification : '.$_GEN_commun['info_auth']->gsa_ce_type_auth.'<br />'.
84
        'Ligne n° : '. __LINE__ . '<br />'.
84
        'Ligne n° : '. __LINE__ . '<br />'.
85
        'Fichier : '. __FILE__ . '<br />');
85
        'Fichier : '. __FILE__ . '<br />');
86
}
86
}
87
 
87
 
88
$_GEN_commun['pear_auth']->setSessionname( 'gen_'.
88
$_GEN_commun['pear_auth']->setSessionname( 'gen_'.$_GEN_commun['info_auth']->gsa_abreviation);
89
                                    GEN_URL_CLE_SITE.'_'.
-
 
90
                                    $_GEN_commun['info_site']->gs_id_site.'_'.
-
 
91
                                    GEN_URL_CLE_I18N.'_'.
-
 
92
                                    $_GEN_commun['info_site']->gs_ce_i18n);
-
 
Line 93... Line 89...
93
 
89
 
Line 94... Line 90...
94
$_GEN_commun['pear_auth']->setExpire(3600 * 24 * 30 * 6);// 6 mois
90
$_GEN_commun['pear_auth']->setExpire(3600 * 24 * 30 * 6);// 6 mois
Line 95... Line 91...
95
 
91
 
96
$_GEN_commun['pear_auth']->start();
92
$_GEN_commun['pear_auth']->start();
-
 
93
 
-
 
94
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
95
* $Log: not supported by cvs2svn $
97
 
96
* Revision 1.3  2004/10/15 18:29:19  jpm
98
/* +--Fin du code ---------------------------------------------------------------------------------------+
97
* Modif pour gérer l'appli installateur de Papyrus.
99
* $Log: not supported by cvs2svn $
98
*
100
* Revision 1.2  2004/06/30 07:23:36  jpm
99
* Revision 1.2  2004/06/30 07:23:36  jpm
101
* Ajout d'un commentaire.
100
* Ajout d'un commentaire.