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.29 2007-03-01 11:07:19 jp_milcent Exp $
|
25 |
// CVS : $Id: pap_config_avancee.inc.php,v 1.30 2007-04-19 16:54:24 neiluj 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 |
*
|
31 |
*@package Papyrus
|
31 |
*@package Papyrus
|
32 |
*@subpackage Configuration
|
32 |
*@subpackage Configuration
|
33 |
//Auteur original :
|
33 |
//Auteur original :
|
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.29 $ $Date: 2007-03-01 11:07:19 $
|
39 |
*@version $Revision: 1.30 $ $Date: 2007-04-19 16:54:24 $
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
*/
|
41 |
*/
|
Line 42... |
Line 42... |
42 |
|
42 |
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
Line 57... |
Line 57... |
57 |
// +------------------------------------------------------------------------------------------------------+
|
57 |
// +------------------------------------------------------------------------------------------------------+
|
Line 58... |
Line 58... |
58 |
|
58 |
|
59 |
// +------------------------------------------------------------------------------------------------------+
|
59 |
// +------------------------------------------------------------------------------------------------------+
|
60 |
// Paramétrage de la version : NE PAS MODIFIER MANUELLEMENT!
|
60 |
// Paramétrage de la version : NE PAS MODIFIER MANUELLEMENT!
|
61 |
/** Constante stockant la version de Papyrus.*/
|
61 |
/** Constante stockant la version de Papyrus.*/
|
Line 62... |
Line 62... |
62 |
define('GEN_VERSION', '0.24');
|
62 |
define('GEN_VERSION', '0.25');
|
63 |
|
63 |
|
64 |
// +------------------------------------------------------------------------------------------------------+
|
64 |
// +------------------------------------------------------------------------------------------------------+
|
65 |
// Paramétrage du débogage.
|
65 |
// Paramétrage du débogage.
|
Line 79... |
Line 79... |
79 |
|
79 |
|
80 |
// +------------------------------------------------------------------------------------------------------+
|
80 |
// +------------------------------------------------------------------------------------------------------+
|
81 |
// Paramétrage de l'identification : Auth
|
81 |
// Paramétrage de l'identification : Auth
|
82 |
$tps = time()+3600*24*30;
|
82 |
$tps = time()+3600*24*30;
|
83 |
/** Constante stockant la durée pendant laquelle on mémorise l'identification via un cookie.*/
|
83 |
/** Constante stockant la durée pendant laquelle on mémorise l'identification via un cookie.*/
|
84 |
define('PAP_AUTH_SESSION_DUREE', (int)$tps);// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
|
84 |
define('PAP_AUTH_SESSION_DUREE', (int)$tps);// Mettre 0 pour "dàconnecter en fin de session" sinon utiliser la variable $tps
|
85 |
/** Constante stockant si oui (true) ou non (false) on met en place la sécurité avancée pour l'identification.*/
|
85 |
/** Constante stockant si oui (true) ou non (false) on met en place la sécurité avancée pour l'identification.*/
|
86 |
define('PAP_AUTH_SECURITE_AVANCEE', true);
|
86 |
define('PAP_AUTH_SECURITE_AVANCEE', true);
|
87 |
/** Constante stockant le préfixe pour les noms des sessions Papyrus.*/
|
87 |
/** Constante stockant le préfixe pour les noms des sessions Papyrus.*/
|
Line 221... |
Line 221... |
221 |
'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
|
221 |
'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
|
222 |
'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
|
222 |
'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
|
223 |
);
|
223 |
);
|
224 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
224 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
225 |
* $Log: not supported by cvs2svn $
|
225 |
* $Log: not supported by cvs2svn $
|
- |
|
226 |
* Revision 1.29 2007/03/01 11:07:19 jp_milcent
|
- |
|
227 |
* Gestion de la constante définissant le type de débogage.
|
- |
|
228 |
*
|
226 |
* Revision 1.28 2006/12/14 15:01:05 jp_milcent
|
229 |
* Revision 1.28 2006/12/14 15:01:05 jp_milcent
|
227 |
* Utilisation d'un système permettant de mémoriser les idenitifications.
|
230 |
* Utilisation d'un système permettant de mémoriser les idenitifications.
|
228 |
* Passage à Auth 1.4.3 et DB 1.7.6.
|
231 |
* Passage à Auth 1.4.3 et DB 1.7.6.
|
229 |
*
|
232 |
*
|
230 |
* Revision 1.27 2006/11/20 17:48:33 jp_milcent
|
233 |
* Revision 1.27 2006/11/20 17:48:33 jp_milcent
|