Subversion Repositories Applications.papyrus

Rev

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

Rev 1053 Rev 1057
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.26 2006-11-20 17:29:04 jp_milcent Exp $
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.27 2006-11-20 17:48:33 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.26 $ $Date: 2006-11-20 17:29:04 $
39
*@version           $Revision: 1.27 $ $Date: 2006-11-20 17:48:33 $
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
*/
41
*/
Line 42... Line 42...
42
 
42
 
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
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
// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
82
// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
Line 83... Line 83...
83
define('PAP_AUTH_SESSION_DUREE', (int)$tps);
83
define('PAP_AUTH_SESSION_DUREE', (int)0);
84
 
84
 
85
// +------------------------------------------------------------------------------------------------------+
85
// +------------------------------------------------------------------------------------------------------+
86
// Paramétrage du nom du champ servant à identifier un site dans l'url
86
// Paramétrage du nom du champ servant à identifier un site dans l'url
Line 216... Line 216...
216
    'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
216
    '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')
217
    'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
218
);
218
);
219
/* +--Fin du code ---------------------------------------------------------------------------------------+
219
/* +--Fin du code ---------------------------------------------------------------------------------------+
220
* $Log: not supported by cvs2svn $
220
* $Log: not supported by cvs2svn $
-
 
221
* 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.
-
 
223
*
221
* Revision 1.25  2006/10/26 16:29:52  jp_milcent
224
* Revision 1.25  2006/10/26 16:29:52  jp_milcent
222
* Correction erreur redirection en boucle.
225
* Correction erreur redirection en boucle.
223
*
226
*
224
* Revision 1.24  2006/10/18 10:18:04  jp_milcent
227
* Revision 1.24  2006/10/18 10:18:04  jp_milcent
225
* Gestion des erreurs HTTP par Papyrus.
228
* Gestion des erreurs HTTP par Papyrus.