Subversion Repositories Applications.papyrus

Rev

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

Rev 1057 Rev 1172
Line 20... Line 20...
20
// | You should have received a copy of the GNU Lesser General Public                                     |
20
// | You should have received a copy of the GNU Lesser General Public                                     |
21
// | License along with this library; if not, write to the Free Software                                  |
21
// | License along with this library; 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
// +------------------------------------------------------------------------------------------------------+
24
// +------------------------------------------------------------------------------------------------------+
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.27 2006-11-20 17:48:33 jp_milcent Exp $
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.28 2006-12-14 15:01:05 jp_milcent Exp $
26
/**
26
/**
27
* Page de configuration avancée de Papyrus
27
* Page de configuration avancée de Papyrus
28
*
28
*
29
* La page contient différents paramêtre permettant de configurer, le chronométrage, le débogage, les url...
29
* La page contient différents paramêtre permettant de configurer, le chronométrage, le débogage, les url...
30
*
30
*
Line 34... Line 34...
34
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
37
*@author            Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
37
*@author            Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
38
*@copyright         Tela-Botanica 2000-2004
38
*@copyright         Tela-Botanica 2000-2004
39
*@version           $Revision: 1.27 $ $Date: 2006-11-20 17:48:33 $
39
*@version           $Revision: 1.28 $ $Date: 2006-12-14 15:01:05 $
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
*/
41
*/
Line 42... Line 42...
42
 
42
 
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
Line 77... Line 77...
77
define('GEN_DEBOGAGE_I18N', 'fr');
77
define('GEN_DEBOGAGE_I18N', 'fr');
Line 78... Line 78...
78
 
78
 
79
// +------------------------------------------------------------------------------------------------------+
79
// +------------------------------------------------------------------------------------------------------+
80
// Paramétrage de l'identification : Auth
80
// Paramétrage de l'identification : Auth
-
 
81
$tps = time()+3600*24*30;
81
$tps = time()+3600*24*30;
82
/** Constante stockant la durée pendant laquelle on mémorise l'identification via un cookie.*/
-
 
83
define('PAP_AUTH_SESSION_DUREE', (int)0);// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
-
 
84
/** Constante stockant si oui (true) ou non (false) on met en place la sécurité avancée pour l'identification.*/
-
 
85
define('PAP_AUTH_SECURITE_AVANCEE', true);
82
// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
86
/** Constante stockant le préfixe pour les noms des sessions Papyrus.*/
Line 83... Line 87...
83
define('PAP_AUTH_SESSION_DUREE', (int)0);
87
define('PAP_AUTH_SESSION_PREFIXE', 'pap-');
84
 
88
 
85
// +------------------------------------------------------------------------------------------------------+
89
// +------------------------------------------------------------------------------------------------------+
86
// Paramétrage du nom du champ servant à identifier un site dans l'url
90
// Paramétrage du nom du champ servant à identifier un site dans l'url
Line 216... Line 220...
216
    'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
220
    'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
217
    'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
221
    'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
218
);
222
);
219
/* +--Fin du code ---------------------------------------------------------------------------------------+
223
/* +--Fin du code ---------------------------------------------------------------------------------------+
220
* $Log: not supported by cvs2svn $
224
* $Log: not supported by cvs2svn $
-
 
225
* Revision 1.27  2006/11/20 17:48:33  jp_milcent
-
 
226
* Mise à 0 de PAP_AUTH_SESSION_DUREE pour garder la compatibilité avec les anciennes installations.
-
 
227
*
221
* Revision 1.26  2006/11/20 17:29:04  jp_milcent
228
* Revision 1.26  2006/11/20 17:29:04  jp_milcent
222
* Ajout d'une constante permettant de gérer la durée des session de Papyrus.
229
* Ajout d'une constante permettant de gérer la durée des session de Papyrus.
223
*
230
*
224
* Revision 1.25  2006/10/26 16:29:52  jp_milcent
231
* Revision 1.25  2006/10/26 16:29:52  jp_milcent
225
* Correction erreur redirection en boucle.
232
* Correction erreur redirection en boucle.