Subversion Repositories eFlore/Archives.eflore-consultation-v1

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 jpm 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of Integrateur eFlore.                                                             |
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: eflore_config_bdd.inc.php,v 1.1 2005-05-24 15:57:48 jpm Exp $
25
/**
26
* Fichier de configuration de la base de données
27
*
28
*@package eFlore
29
*@subpackage Ancien
30
//Auteur original :
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
//Autres auteurs :
33
*@author        Aucun
34
*@copyright     Tela-Botanica 2000-2005
35
*@version       $Revision: 1.1 $ $Date: 2005-05-24 15:57:48 $
36
// +------------------------------------------------------------------------------------------------------+
37
*/
38
 
39
// +------------------------------------------------------------------------------------------------------+
40
// |                                            ENTETE du PROGRAMME                                       |
41
// +------------------------------------------------------------------------------------------------------+
42
 
43
// +------------------------------------------------------------------------------------------------------+
44
// |                                            CORPS du PROGRAMME                                        |
45
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
47
// Paramétrage de la base de données.
48
/** Constante stockant le protocole de la base de données.*/
49
define('EF_BDD_PROTOCOLE', 'mysql');
50
/** Constante stockant le nom du serveur de bases de données.*/
51
define('EF_BDD_SERVEUR', 'localhost');
52
/** Constante stockant le nom de l'utilisateur de la base de données.*/
53
define('EF_BDD_UTILISATEUR', '');
54
/** Constante stockant le mot de passse de l'utilisateur de la base de données.*/
55
define('EF_BDD_MOT_DE_PASSE', '');
56
/** Constante stockant le nom de la base de données par défaut.*/
57
define('EF_BDD_NOM', '');
58
 
59
// +------------------------------------------------------------------------------------------------------+
60
// Paramétrage de la valeur du DSN pour Pear DB.
61
/** Constante stockant le DSN permetant de se connecter à la base de données de Biblio Bota.*/
62
define('EF_DSN', EF_BDD_PROTOCOLE.'://'.EF_BDD_UTILISATEUR.':'.EF_BDD_MOT_DE_PASSE.'@'.EF_BDD_SERVEUR.'/'.EF_BDD_NOM);
63
 
64
// +------------------------------------------------------------------------------------------------------+
65
// Paramétrage des champs et nom de la table des stats
66
define('NOM_TABLE_STAT', 'EFLORE_STAT_DONNEE');
67
define('NC_ID', 'esd_id');
68
define('NC_IP', 'esd_ip_utilisateur');
69
define('NC_DOMAINE', 'esd_domaine_utilisateur');
70
define('NC_NAVIGATEUR', 'esd_navigateur_utilisateur');
71
define('NC_DH_MYSQL', 'esd_date_heure_mysql');
72
define('NC_TPS', 'esd_temps_recherche');
73
define('NC_DATE', 'esd_date_recherche');
74
define('NBRE_CHAMP_SPE', 3);
75
 
76
// +------------------------------------------------------------------------------------------------------+
77
// |                                            PIED du PROGRAMME                                         |
78
// +------------------------------------------------------------------------------------------------------+
79
 
80
 
81
 
82
/* +--Fin du code ----------------------------------------------------------------------------------------+
83
*
84
* $Log: not supported by cvs2svn $
85
*
86
* +-- Fin du code ----------------------------------------------------------------------------------------+
87
*/
88
?>