Subversion Repositories Applications.papyrus

Rev

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

Rev 1041 Rev 1053
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.25 2006-10-26 16:29:52 jp_milcent Exp $
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.26 2006-11-20 17:29:04 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.25 $ $Date: 2006-10-26 16:29:52 $
39
*@version           $Revision: 1.26 $ $Date: 2006-11-20 17:29:04 $
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
*/
41
*/
Line 42... Line 42...
42
 
42
 
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
Line 75... Line 75...
75
/** Constante permettant de savoir la langue pour le débogage du code PHP de Papyrus et de ses
75
/** Constante permettant de savoir la langue pour le débogage du code PHP de Papyrus et de ses
76
* applications.*/
76
* applications.*/
77
define('GEN_DEBOGAGE_I18N', 'fr');
77
define('GEN_DEBOGAGE_I18N', 'fr');
Line 78... Line 78...
78
 
78
 
-
 
79
// +------------------------------------------------------------------------------------------------------+
-
 
80
// Paramétrage de l'identification : Auth
-
 
81
$tps = time()+3600*24*30;
-
 
82
// Mettre 0 pour "déconnecter en fin de session" sinon utiliser la variable $tps
-
 
83
define('PAP_AUTH_SESSION_DUREE', (int)$tps);
-
 
84
 
79
// +------------------------------------------------------------------------------------------------------+
85
// +------------------------------------------------------------------------------------------------------+
80
// 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
81
/** Type du code d'un site passé dans l'url.*/
87
/** Type du code d'un site passé dans l'url.*/
82
define('GEN_URL_ID_TYPE_SITE', 'int');// string ou int
88
define('GEN_URL_ID_TYPE_SITE', 'int');// string ou int
83
/** Type du code d'un menu passé dans l'url.*/
89
/** Type du code d'un menu passé dans l'url.*/
Line 210... Line 216...
210
    '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'),
211
    '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')
212
);
218
);
213
/* +--Fin du code ---------------------------------------------------------------------------------------+
219
/* +--Fin du code ---------------------------------------------------------------------------------------+
214
* $Log: not supported by cvs2svn $
220
* $Log: not supported by cvs2svn $
-
 
221
* Revision 1.25  2006/10/26 16:29:52  jp_milcent
-
 
222
* Correction erreur redirection en boucle.
-
 
223
*
215
* Revision 1.24  2006/10/18 10:18:04  jp_milcent
224
* Revision 1.24  2006/10/18 10:18:04  jp_milcent
216
* Gestion des erreurs HTTP par Papyrus.
225
* Gestion des erreurs HTTP par Papyrus.
217
*
226
*
218
* Revision 1.23  2006/10/11 18:04:11  jp_milcent
227
* Revision 1.23  2006/10/11 18:04:11  jp_milcent
219
* Gestion avancée de la réecriture d'URL.
228
* Gestion avancée de la réecriture d'URL.