1,5 → 1,4 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
19,7 → 18,6 |
// | 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 |
* |
29,14 → 27,14 |
//Auteur original : |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ |
*@version $Id: ann_config.inc.php,v 1.2 2005/03/08 09:43:34 alex 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"); |
setlocale(LC_CTYPE, 'fr_FR'); |
|
/** |
//=========================DEFINITION DE VARIABLES ================================= |
43,8 → 41,8 |
* Définition des variables globales |
//================================================================================== |
*/ |
$GLOBALS['AUTH'] =& $_GEN_commun['pear_auth'] ; |
$GLOBALS['ann_db'] =& $_GEN_commun['pear_db'] ; |
$GLOBALS['AUTH'] =& $GLOBALS['_GEN_commun']['pear_auth'] ; |
$GLOBALS['ann_db'] =& $GLOBALS['_GEN_commun']['pear_db'] ; |
|
/** |
//==================================== LES URLS ================================== |
51,23 → 49,21 |
* 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'] =& $GLOBALS['_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') ; |
define('ANN_URL_ACTUALITE', 'http://www.tela-botanica.org/actu/article220.html') ; |
/** Variable définissant la lettre par défaut du parcour alphabétique.*/ |
define('ANN_LETTRE_DEFAUT', 'A') ;// une lettre de l'aphabet ou "tous" |
/** Variable définissant si oui ou non on affiche l'entrée "tous" dans le parcour alphabétique.*/ |
define('ANN_TOUS_BOOL', false) ;// true ou false |
/** |
//=========================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 |
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 ================================== |
95,21 → 91,5 |
* Constantes contenant des mails |
//================================================================================== |
*/ |
define ("ANN_MAIL_ADMIN", "carto@tela-botanica.org") ; |
|
/* +--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 ----------------------------------------------------------------------------------------+ |
*/ |
define ('ANN_MAIL_ADMIN', 'Jean-Pascal MILCENT<jpm@tela-botanica.org>') ; |
?> |