376 |
jpm |
1 |
<?php
|
|
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
|
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
4 |
// | PHP version 4.3 |
|
|
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
|
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
8 |
// | This file is part of eFlore-consultation. |
|
|
|
9 |
// | |
|
|
|
10 |
// | Foobar is free software; you can redistribute it and/or modify |
|
|
|
11 |
// | it under the terms of the GNU General Public License as published by |
|
|
|
12 |
// | the Free Software Foundation; either version 2 of the License, or |
|
|
|
13 |
// | (at your option) any later version. |
|
|
|
14 |
// | |
|
|
|
15 |
// | Foobar is distributed in the hope that it will be useful, |
|
|
|
16 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
17 |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
18 |
// | GNU General Public License for more details. |
|
|
|
19 |
// | |
|
|
|
20 |
// | You should have received a copy of the GNU General Public License |
|
|
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
|
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
|
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
24 |
// CVS : $Id: ef_config_bdd.inc.php,v 1.9 2007-06-19 10:32:57 jp_milcent Exp $
|
|
|
25 |
/**
|
|
|
26 |
* Fichier de configuration de la base de données d'eFlore.
|
|
|
27 |
*
|
|
|
28 |
* Contient les constantes de connexion à la base de données d'eFlore.
|
|
|
29 |
*
|
|
|
30 |
*@package eflore
|
|
|
31 |
*@subpackage configuration
|
|
|
32 |
//Auteur original :
|
|
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
|
|
34 |
//Autres auteurs :
|
|
|
35 |
*@author aucun
|
|
|
36 |
*@copyright Tela-Botanica 2000-2005
|
|
|
37 |
*@version $Revision: 1.9 $ $Date: 2007-06-19 10:32:57 $
|
|
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
39 |
*/
|
|
|
40 |
|
|
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
42 |
// | ENTETE du PROGRAMME |
|
|
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
47 |
// | CORPS du PROGRAMME |
|
|
|
48 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
50 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
|
|
51 |
/** Constante stockant le DSN permetant de se connecter à la base de données principale.*/
|
|
|
52 |
define('SC_DSN_PRINCIPAL', SC_BDD_PROTOCOLE.'://'.SC_BDD_UTILISATEUR.':'.SC_BDD_MOT_DE_PASSE.'@'.SC_BDD_SERVEUR.'/'.SC_BDD_NOM_PRINCIPALE);
|
|
|
53 |
$GLOBALS['_SCRIPT_']['dsn'] = SC_DSN_PRINCIPAL;
|
|
|
54 |
|
|
|
55 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
|
|
56 |
*
|
|
|
57 |
* $Log: ef_config_bdd.inc.php,v $
|
|
|
58 |
* Revision 1.9 2007-06-19 10:32:57 jp_milcent
|
|
|
59 |
* Début utilisation de classes par module utilisant l'API 1.1.1.
|
|
|
60 |
* Renomage des anciennes classes en "Deprecie".
|
|
|
61 |
*
|
|
|
62 |
* Revision 1.8 2005-12-21 15:11:13 jp_milcent
|
|
|
63 |
* Nouvelle gestion de la configuration.
|
|
|
64 |
*
|
|
|
65 |
* Revision 1.7 2005/12/15 16:01:21 jp_milcent
|
|
|
66 |
* Fusion de la branche bdnff_v3_v4 vers la branche principale.
|
|
|
67 |
*
|
|
|
68 |
* Revision 1.6 2005/12/04 23:57:28 ddelon
|
|
|
69 |
* Recherche approchee
|
|
|
70 |
*
|
|
|
71 |
* Revision 1.5 2005/10/06 18:48:47 jp_milcent
|
|
|
72 |
* Modif
|
|
|
73 |
*
|
|
|
74 |
* Revision 1.4 2005/08/30 16:11:13 jp_milcent
|
|
|
75 |
* La recherche dans la classification fonctionne de manière récursive.
|
|
|
76 |
*
|
|
|
77 |
* Revision 1.3 2005/07/28 15:37:56 jp_milcent
|
|
|
78 |
* Début gestion des squelettes et de l'API eFlore.
|
|
|
79 |
*
|
|
|
80 |
* Revision 1.2 2005/07/26 16:27:29 jp_milcent
|
|
|
81 |
* Début mise en place framework eFlore.
|
|
|
82 |
*
|
|
|
83 |
* Revision 1.1 2005/07/26 09:19:05 jp_milcent
|
|
|
84 |
* Légère modif.
|
|
|
85 |
*
|
|
|
86 |
*
|
|
|
87 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
|
|
88 |
*/
|
|
|
89 |
?>
|