New file |
0,0 → 1,111 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This library is free software; you can redistribute it and/or | |
// | modify it under the terms of the GNU Lesser General Public | |
// | License as published by the Free Software Foundation; either | |
// | version 2.1 of the License, or (at your option) any later version. | |
// | | |
// | This library is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
// | Lesser General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU Lesser General Public | |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: ann_config.inc.php,v 1.2 2005/03/08 09:43:34 alex Exp $ |
/** |
* Fichier de configuration de l'annuaire |
* |
* A éditer de façon spécifique à chaque déploiement |
* |
*@package inscription |
//Auteur original : |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
|
/** |
//=========================DEFINITION DE VARIABLES ================================= |
* Définition des variables globales |
//================================================================================== |
*/ |
|
$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 |
// Créer cet objet par $GLOBALS['ins_url'] = new Net_URL('http://....') ; |
|
/** |
//=========================DEFINITION DE VARIABLES ================================= |
* Définition des variables globales |
//================================================================================== |
*/ |
|
/** |
//==================================== LES CHEMINS ================================= |
* Constantes définissant les chemins d'accé au différents fichiers inclus dans les |
* applications. |
//================================================================================== |
*/ |
define("ANN_CHEMIN_APPLI",'client/annuaire/');//le chemin vers l'application courrante |
define("ANN_CHEMIN_LIBRAIRIE", ANN_CHEMIN_APPLI.'bibliotheque/');//le chemin de la librairie de fichier php |
|
/** |
//==================================== CONSTANTES ================================== |
* 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 |
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_VILLE", "U_CITY") ; |
define ("ANN_CHAMPS_PAYS", "U_COUNTRY") ; |
define ("ANN_TABLE_PAYS", "gen_COUNTRY") ; |
define ("ANN_TABLE_DEPARTEMENT", "gen_FRENCH_DPT") ; |
|
/** |
//==================================== CONSTANTES================================== |
* Constantes contenant des mails |
//================================================================================== |
*/ |
|
define ("ANN_MAIL_ADMIN", "") ; |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: ann_config.inc.php,v $ |
* Revision 1.2 2005/03/08 09:43:34 alex |
* -- |
* |
* Revision 1.1.1.1 2005/01/03 17:27:49 alex |
* Import initial |
* |
* Revision 1.1 2005/01/03 17:19:20 alex |
* version initiale |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |