1 |
<?php
|
1 |
<?php
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
4 |
// | PHP version 4.1 |
|
4 |
// | PHP version 4.1 |
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
8 |
// | This library is free software; you can redistribute it and/or |
|
8 |
// | This library is free software; you can redistribute it and/or |
|
9 |
// | modify it under the terms of the GNU Lesser General Public |
|
9 |
// | modify it under the terms of the GNU Lesser General Public |
|
10 |
// | License as published by the Free Software Foundation; either |
|
10 |
// | License as published by the Free Software Foundation; either |
|
11 |
// | version 2.1 of the License, or (at your option) any later version. |
|
11 |
// | version 2.1 of the License, or (at your option) any later version. |
|
12 |
// | |
|
12 |
// | |
|
13 |
// | This library is distributed in the hope that it will be useful, |
|
13 |
// | This library is distributed in the hope that it will be useful, |
|
14 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
15 |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
16 |
// | Lesser General Public License for more details. |
|
16 |
// | Lesser General Public License for more details. |
|
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
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 |
|
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 |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: eflore_config.inc.php,v 1.2 2004-06-17 15:21:37 linda Exp $
|
22 |
// CVS : $Id: eflore_config.inc.php,v 1.3 2004-06-22 12:25:02 linda Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Titre
|
24 |
* Titre
|
25 |
*
|
25 |
*
|
26 |
* Description
|
26 |
* Description
|
27 |
*
|
27 |
*
|
28 |
*@package eflore
|
28 |
*@package eflore
|
29 |
*@subpackage configuration
|
29 |
*@subpackage configuration
|
30 |
//Auteur original :
|
30 |
//Auteur original :
|
31 |
*@author Linda ANGAMA<linda_angama@yahoo.fr>
|
31 |
*@author Linda ANGAMA<linda_angama@yahoo.fr>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@author Aucun
|
33 |
*@author Aucun
|
34 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@version $Revision: 1.2 $ $Date: 2004-06-17 15:21:37 $
|
35 |
*@version $Revision: 1.3 $ $Date: 2004-06-22 12:25:02 $
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
*/
|
37 |
*/
|
38 |
|
38 |
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// | ENTETE du PROGRAMME |
|
40 |
// | ENTETE du PROGRAMME |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
/*Mettre ici les inclusions de fichiers*/
|
42 |
/*Mettre ici les inclusions de fichiers*/
|
43 |
|
43 |
|
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
46 |
// | CORPS du PROGRAMME |
|
46 |
// | CORPS du PROGRAMME |
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
|
48 |
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
50 |
// Paramétrage de la base de données.
|
50 |
// Paramétrage de la base de données.
|
51 |
/** <br> Constante stockant le nom du serveur de bases de données.*/
|
51 |
/** <br> Constante stockant le nom du serveur de bases de données.*/
|
52 |
define('EFLORE_BDD_SERVEUR', 'localhost');
|
52 |
define('EFLORE_BDD_SERVEUR', 'localhost');
|
53 |
/** <br> Constante stockant le nom de l'utilisateur de la base de données de Génésia.*/
|
53 |
/** <br> Constante stockant le nom de l'utilisateur de la base de données de Génésia.*/
|
54 |
define('EFLORE_BDD_UTILISATEUR', '');
|
54 |
define('EFLORE_BDD_UTILISATEUR', '');
|
55 |
/** <br> Constante stockant le mot de passse de l'utilisateur de la base de données de Génésia.*/
|
55 |
/** <br> Constante stockant le mot de passse de l'utilisateur de la base de données de Génésia.*/
|
56 |
define('EFLORE_BDD_MOT_DE_PASSE', '');
|
56 |
define('EFLORE_BDD_MOT_DE_PASSE', '');
|
57 |
/** <br> Constante stockant le nom de la base de données de Génésia.*/
|
57 |
/** <br> Constante stockant le nom de la base de données de Génésia.*/
|
58 |
define('EFLORE_BDD_NOM', '');
|
58 |
define('EFLORE_BDD_NOM', 'tela_test_eflore');
|
59 |
// +------------------------------------------------------------------------------------------------------+
|
59 |
// +------------------------------------------------------------------------------------------------------+
|
60 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
60 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
61 |
/** <br> Constante stockant le DSN permetant de se connecter à la base de données de Génésia.*/
|
61 |
/** <br> Constante stockant le DSN permetant de se connecter à la base de données de Génésia.*/
|
62 |
define('EFLORE_DSN', 'mysql://'.EFLORE_BDD_UTILISATEUR.':'.EFLORE_BDD_MOT_DE_PASSE.'@'.EFLORE_BDD_SERVEUR.'/'.EFLORE_BDD_NOM);
|
62 |
define('EFLORE_DSN', 'mysql://'.EFLORE_BDD_UTILISATEUR.':'.EFLORE_BDD_MOT_DE_PASSE.'@'.EFLORE_BDD_SERVEUR.'/'.EFLORE_BDD_NOM);
|
- |
|
63 |
// +------------------------------------------------------------------------------------------------------+
|
- |
|
64 |
// Définition des chemins de fichiers.
|
- |
|
65 |
/** <br> Constante stockant le chemin du dossier contenant les images de plantes.*/
|
- |
|
66 |
define('EFLORE_CHEMIN_IMG_PLTE','sites/eflore/generique/images/photos_plte/');
|
- |
|
67 |
/** <br> Constante stockant le chemin du dossier contenant les fichiers rdf.*/
|
- |
|
68 |
define('EFLORE_CHEMIN_RDF','sites/eflore/generique/images/photos_plte/');
|
63 |
|
- |
|
64 |
|
- |
|
65 |
|
69 |
|
66 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
70 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
67 |
*
|
71 |
*
|
68 |
* $Log: not supported by cvs2svn $
|
72 |
* $Log: not supported by cvs2svn $
|
- |
|
73 |
* Revision 1.2 2004/06/17 15:21:37 linda
|
- |
|
74 |
* ajout du fichier initial
|
- |
|
75 |
*
|
69 |
*
|
76 |
*
|
70 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
77 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
71 |
*/
|
78 |
*/
|
72 |
?>
|
79 |
?>
|