New file |
0,0 → 1,88 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of Integrateur eFlore. | |
// | | |
// | Foobar is free software; you can redistribute it and/or modify | |
// | it under the terms of the GNU General Public License as published by | |
// | the Free Software Foundation; either version 2 of the License, or | |
// | (at your option) any later version. | |
// | | |
// | Foobar is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
// | GNU General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU General Public License | |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: eflore_config_bdd.inc.php,v 1.1 2005-05-24 15:57:48 jpm Exp $ |
/** |
* Fichier de configuration de la base de données |
* |
*@package eFlore |
*@subpackage Ancien |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.1 $ $Date: 2005-05-24 15:57:48 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// Paramétrage de la base de données. |
/** Constante stockant le protocole de la base de données.*/ |
define('EF_BDD_PROTOCOLE', 'mysql'); |
/** Constante stockant le nom du serveur de bases de données.*/ |
define('EF_BDD_SERVEUR', 'localhost'); |
/** Constante stockant le nom de l'utilisateur de la base de données.*/ |
define('EF_BDD_UTILISATEUR', ''); |
/** Constante stockant le mot de passse de l'utilisateur de la base de données.*/ |
define('EF_BDD_MOT_DE_PASSE', ''); |
/** Constante stockant le nom de la base de données par défaut.*/ |
define('EF_BDD_NOM', ''); |
|
// +------------------------------------------------------------------------------------------------------+ |
// Paramétrage de la valeur du DSN pour Pear DB. |
/** Constante stockant le DSN permetant de se connecter à la base de données de Biblio Bota.*/ |
define('EF_DSN', EF_BDD_PROTOCOLE.'://'.EF_BDD_UTILISATEUR.':'.EF_BDD_MOT_DE_PASSE.'@'.EF_BDD_SERVEUR.'/'.EF_BDD_NOM); |
|
// +------------------------------------------------------------------------------------------------------+ |
// Paramétrage des champs et nom de la table des stats |
define('NOM_TABLE_STAT', 'EFLORE_STAT_DONNEE'); |
define('NC_ID', 'esd_id'); |
define('NC_IP', 'esd_ip_utilisateur'); |
define('NC_DOMAINE', 'esd_domaine_utilisateur'); |
define('NC_NAVIGATEUR', 'esd_navigateur_utilisateur'); |
define('NC_DH_MYSQL', 'esd_date_heure_mysql'); |
define('NC_TPS', 'esd_temps_recherche'); |
define('NC_DATE', 'esd_date_recherche'); |
define('NBRE_CHAMP_SPE', 3); |
|
// +------------------------------------------------------------------------------------------------------+ |
// | PIED du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
|
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |