New file |
0,0 → 1,70 |
<?php |
// +----------------------------------------------------------------------------+ |
// |car_config.inc.php | |
// +----------------------------------------------------------------------------+ |
// | Copyright (c) 2004 Tela Botanica | |
// +----------------------------------------------------------------------------+ |
// | Le module d'inscription amélioré, configuration | |
// +----------------------------------------------------------------------------+ |
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org> | |
// +----------------------------------------------------------------------------+ |
// |
// $Id: car_config.inc.php,v 1.1 2004/11/30 13:37:13 tam Exp $ |
|
// Paramêtres indiquant que l'on est en français pourpermettre la mise en majuscule des caractères accentués |
setlocale(LC_CTYPE, "fr_FR"); |
|
/** |
//=========================DEFINITION DE VARIABLES ================================= |
* Définition des variables globales |
//================================================================================== |
*/ |
$GLOBALS['car_auth'] =& $_GEN_commun['pear_auth'] ; |
$GLOBALS['car_db'] =& $_GEN_commun['pear_db'] ; |
$GLOBALS['car_url'] = $_GEN_commun['url']; |
|
/** |
//==================================== LES URLS ================================== |
* Constantes liées à l'utilisation des url |
//================================================================================== |
*/ |
define ("CAR_URL", $_GEN_commun['url']->getURL()) ; |
define ("CAR_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ; |
|
/** |
//==================================== LES CHEMINS ================================= |
* Constantes définissant les chemins d'accès aux différents fichiers inclus dans les |
* applications. |
//================================================================================== |
*/ |
define("CAR_CHEMIN_APPLI",'client/cartographie') ;//le chemin vers l'application courrante |
define("CAR_CHEMIN_LIBRAIRIE",'client/cartographie/bibliotheque/');//le chemin de la librairie de fichier php |
define ("CAR_CHEMIN_INSCRIPTION", "inscription");//l'adresse de renvoi pour s'inscrire au site |
|
|
/** |
//==================================== CONSTANTES ================================== |
* Constantes des noms de tables et de champs dans l'annuaire |
//================================================================================== |
*/ |
define ("CAR_ANNUAIRE", "annuaire_tela") ; |
define ("CAR_CHAMPS_NOM", "U_NAME") ; // Nom du champs nom |
define ("CAR_CHAMPS_MAIL", "U_MAIL") ; // Nom du champs mail |
define ("CAR_CHAMPS_PRENOM", "U_SURNAME") ; // Nom du champs prénom |
define ("CAR_CHAMPS_CE_PAYS", "U_COUNTRY") ; |
define ("CAR_CHAMPS_DPT", " U_FRENCH_DPT") ; |
define ("CAR_CHAMPS_ID", "U_ID") ; |
define ("CAR_CHAMPS_DATE_INS", "U_DATE") ; |
define ("CAR_CHAMPS_REGION", "U_STATE") ; |
define ("CAR_CHAMPS_CODE_POSTAL", "U_ZIP_CODE") ; |
define ("CAR_CHAMPS_VILLE", "U_CITY") ; |
|
define ("PROJET_DPT", "gen_FRENCH_DPT") ; // Nom de la table département |
define ("PROJET_PAYS", "gen_COUNTRY") ; // Nom de la table pays |
|
|
|
/** Tableau global contenant les mails des administrateurs. */ |
// Liste des personne recevant le mail après envoie de courriel par l'annuaire |
$GLOBALS['mail_admin'] = array ('carto@tela-botanica.org'); |
?> |