Subversion Repositories Sites.tela-botanica.org

Rev

Rev 181 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 david 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
8
// | This library is free software; you can redistribute it and/or                                        |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
10
// | License as published by the Free Software Foundation; either                                         |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
12
// |                                                                                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
16
// | Lesser General Public License for more details.                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: ann_config.inc.php,v 1.2 2005/03/08 09:43:34 alex Exp $
23
/**
24
* Fichier de configuration de l'annuaire
25
*
26
* A éditer de façon spécifique à chaque déploiement
27
*
28
*@package inscription
29
//Auteur original :
30
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
31
//Autres auteurs :
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.2 $
35
// +------------------------------------------------------------------------------------------------------+
36
*/
37
 
186 jpm 38
// Paramêtres indiquant que l'on est en français pourpermettre la mise en majuscule des caractères accentués
39
setlocale(LC_CTYPE, "fr_FR");
4 david 40
 
41
/**
42
//=========================DEFINITION DE VARIABLES =================================
43
* Définition des variables globales
44
//==================================================================================
45
*/
46
 
47
$GLOBALS['AUTH'] = &$_GEN_commun['pear_auth'] ;
48
$GLOBALS['ann_db'] = &$_GEN_commun['pear_db'] ;
49
 
50
/**
51
//==================================== LES URLS ==================================
52
* Constantes liées à l'utilisation des url
53
//==================================================================================
54
*/
181 jpm 55
$GLOBALS['ann_url'] = &$_GEN_commun['url'];//l'url de base de l'application, un objet Net_URL
56
                                           // Créer cet objet par $GLOBALS['ins_url'] = new Net_URL('http://....') ;
57
define("ANN_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ;
4 david 58
/**
59
//=========================DEFINITION DE VARIABLES =================================
60
* Définition des variables globales
61
//==================================================================================
62
*/
63
 
64
/**
65
//==================================== LES CHEMINS =================================
66
* Constantes définissant les chemins d'accé au différents fichiers inclus dans les
67
* applications.
68
//==================================================================================
69
*/
70
define("ANN_CHEMIN_APPLI",'client/annuaire/');//le chemin vers l'application courrante
71
define("ANN_CHEMIN_LIBRAIRIE", ANN_CHEMIN_APPLI.'bibliotheque/');//le chemin de la librairie de fichier php
72
 
73
/**
74
//==================================== CONSTANTES ==================================
75
* Constantes des noms de tables et de champs dans l'annuaire
76
//==================================================================================
77
*/
78
 
79
define ("ANN_ANNUAIRE", "annuaire_tela") ;
80
define ("ANN_CHAMPS_NOM", "U_NAME") ;                   // Nom du champs nom
81
define ("ANN_CHAMPS_MAIL", "U_MAIL") ;                  // Nom du champs mail
82
define ("ANN_CHAMPS_PRENOM", "U_SURNAME") ;             // Nom du champs prénom
83
define ("ANN_CHAMPS_ID", "U_ID") ;      // Nom du champs id
84
define ("ANN_CHAMPS_DATE_INS", "U_DATE") ;
85
define ("ANN_CHAMPS_VILLE", "U_CITY") ;
86
define ("ANN_CHAMPS_PAYS", "U_COUNTRY") ;
87
define ("ANN_TABLE_PAYS", "gen_COUNTRY") ;
88
define ("ANN_TABLE_DEPARTEMENT", "gen_FRENCH_DPT") ;
89
 
90
/**
91
//==================================== CONSTANTES==================================
92
* Constantes contenant des mails
93
//==================================================================================
94
*/
95
 
96
define ("ANN_MAIL_ADMIN", "") ;
97
 
98
/* +--Fin du code ----------------------------------------------------------------------------------------+
99
*
100
* $Log: ann_config.inc.php,v $
101
* Revision 1.2  2005/03/08 09:43:34  alex
102
* --
103
*
104
* Revision 1.1.1.1  2005/01/03 17:27:49  alex
105
* Import initial
106
*
107
* Revision 1.1  2005/01/03 17:19:20  alex
108
* version initiale
109
*
110
*
111
* +-- Fin du code ----------------------------------------------------------------------------------------+
112
*/
113
?>