4 |
linda |
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 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
linda |
22 |
// CVS : $Id: eflore_config.inc.php,v 1.4 2004-08-17 11:22:45 linda Exp $
|
4 |
linda |
23 |
/**
|
|
|
24 |
* Titre
|
|
|
25 |
*
|
|
|
26 |
* Description
|
|
|
27 |
*
|
|
|
28 |
*@package eflore
|
|
|
29 |
*@subpackage configuration
|
|
|
30 |
//Auteur original :
|
|
|
31 |
*@author Linda ANGAMA<linda_angama@yahoo.fr>
|
|
|
32 |
//Autres auteurs :
|
|
|
33 |
*@author Aucun
|
|
|
34 |
*@copyright Tela-Botanica 2000-2004
|
24 |
linda |
35 |
*@version $Revision: 1.4 $ $Date: 2004-08-17 11:22:45 $
|
4 |
linda |
36 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
37 |
*/
|
|
|
38 |
|
|
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
40 |
// | ENTETE du PROGRAMME |
|
|
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
42 |
/*Mettre ici les inclusions de fichiers*/
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
46 |
// | CORPS du PROGRAMME |
|
|
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
48 |
|
|
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
linda |
50 |
// Définition des variables temporairement utilisées pour les essais de l'application.
|
|
|
51 |
define('N_TAXON', 3288);
|
|
|
52 |
define('N_VERSION_PROJET_TAXON',1);
|
|
|
53 |
define('CONTRIBUTEUR',4);
|
|
|
54 |
|
|
|
55 |
// +------------------------------------------------------------------------------------------------------+
|
4 |
linda |
56 |
// Paramétrage de la base de données.
|
|
|
57 |
/** <br> Constante stockant le nom du serveur de bases de données.*/
|
|
|
58 |
define('EFLORE_BDD_SERVEUR', 'localhost');
|
|
|
59 |
/** <br> Constante stockant le nom de l'utilisateur de la base de données de Génésia.*/
|
|
|
60 |
define('EFLORE_BDD_UTILISATEUR', '');
|
|
|
61 |
/** <br> Constante stockant le mot de passse de l'utilisateur de la base de données de Génésia.*/
|
|
|
62 |
define('EFLORE_BDD_MOT_DE_PASSE', '');
|
|
|
63 |
/** <br> Constante stockant le nom de la base de données de Génésia.*/
|
8 |
linda |
64 |
define('EFLORE_BDD_NOM', 'tela_test_eflore');
|
4 |
linda |
65 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
66 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
|
|
67 |
/** <br> Constante stockant le DSN permetant de se connecter à la base de données de Génésia.*/
|
7 |
linda |
68 |
define('EFLORE_DSN', 'mysql://'.EFLORE_BDD_UTILISATEUR.':'.EFLORE_BDD_MOT_DE_PASSE.'@'.EFLORE_BDD_SERVEUR.'/'.EFLORE_BDD_NOM);
|
8 |
linda |
69 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
70 |
// Définition des chemins de fichiers.
|
|
|
71 |
/** <br> Constante stockant le chemin du dossier contenant les images de plantes.*/
|
|
|
72 |
define('EFLORE_CHEMIN_IMG_PLTE','sites/eflore/generique/images/photos_plte/');
|
|
|
73 |
/** <br> Constante stockant le chemin du dossier contenant les fichiers rdf.*/
|
|
|
74 |
define('EFLORE_CHEMIN_RDF','sites/eflore/generique/images/photos_plte/');
|
24 |
linda |
75 |
/** <br> Constante stockant l'URL de base de l'application recherche de plante.*/
|
|
|
76 |
define('EFLORE_CHEMIN_APPLI','papyrus.php?site=3&menu=39');
|
|
|
77 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
78 |
// Définition de la langue
|
|
|
79 |
/** <br> Constante stockant la langue utilisée pour l'application.*/
|
|
|
80 |
define('EFLORE_LANGUE',substr($_GEN_commun['i18n'],0,2));
|
4 |
linda |
81 |
|
|
|
82 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
|
|
83 |
*
|
|
|
84 |
* $Log: not supported by cvs2svn $
|
24 |
linda |
85 |
* Revision 1.3 2004/06/22 12:25:02 linda
|
|
|
86 |
* modifications des paramètre de connexion à la base de données
|
|
|
87 |
*
|
8 |
linda |
88 |
* Revision 1.2 2004/06/17 15:21:37 linda
|
|
|
89 |
* ajout du fichier initial
|
4 |
linda |
90 |
*
|
8 |
linda |
91 |
*
|
4 |
linda |
92 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
|
|
93 |
*/
|
|
|
94 |
?>
|