43,16 → 43,15 |
* Définition des variables globales |
//================================================================================== |
*/ |
$GLOBALS['AUTH'] =& $_GEN_commun['pear_auth'] ; |
$GLOBALS['ann_db'] =& $_GEN_commun['pear_db'] ; |
|
$GLOBALS['AUTH'] = &$_GEN_commun['pear_auth'] ; |
$GLOBALS['ann_db'] = &$_GEN_commun['pear_db'] ; |
|
/** |
//==================================== LES URLS ================================== |
* Constantes liées à l'utilisation des url |
//================================================================================== |
*/ |
$GLOBALS['ann_url'] = &$_GEN_commun['url'];//l'url de base de l'application, un objet Net_URL |
$GLOBALS['ann_url'] =& $_GEN_commun['url'];//l'url de base de l'application, un objet Net_URL |
// Créer cet objet par $GLOBALS['ins_url'] = new Net_URL('http://....') ; |
define("ANN_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ; |
/** |
75,7 → 74,6 |
* Constantes des noms de tables et de champs dans l'annuaire |
//================================================================================== |
*/ |
|
define ("ANN_ANNUAIRE", "annuaire_tela") ; |
define ("ANN_CHAMPS_NOM", "U_NAME") ; // Nom du champs nom |
define ("ANN_CHAMPS_MAIL", "U_MAIL") ; // Nom du champs mail |
82,6 → 80,7 |
define ("ANN_CHAMPS_PRENOM", "U_SURNAME") ; // Nom du champs prénom |
define ("ANN_CHAMPS_ID", "U_ID") ; // Nom du champs id |
define ("ANN_CHAMPS_DATE_INS", "U_DATE") ; |
define ("ANN_CHAMPS_CODE_POSTAL", "U_ZIP_CODE") ; |
define ("ANN_CHAMPS_VILLE", "U_CITY") ; |
define ("ANN_CHAMPS_PAYS", "U_COUNTRY") ; |
define ("ANN_TABLE_PAYS", "gen_COUNTRY") ; |
92,7 → 91,6 |
* Constantes contenant des mails |
//================================================================================== |
*/ |
|
define ("ANN_MAIL_ADMIN", "") ; |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |