Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/configuration/eflore_config.inc.php
New file
0,0 → 1,91
<?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.inc.php,v 1.1 2005-05-24 15:57:48 jpm Exp $
/**
* Fichier de configuration
*
*@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 |
// +------------------------------------------------------------------------------------------------------+
// +------------------------------------------------------------------------------------------------------+
// Définition de la langue
/** Constante stockant la langue utilisée pour l'application.*/
define('EF_LANGUE', substr($GLOBALS['_GEN_commun']['i18n'], 0, 2));
 
// +------------------------------------------------------------------------------------------------------+
// Divers
$GLOBALS['eflore_services']['location']='http://eflore.tela-botanica.org/servicesxml/';
$GLOBALS['_EF_ANCIEN_']['type'] = 'ANT';
if (isset($GLOBALS['_GEN_commun']['info_application']->type)) {
$GLOBALS['_EF_ANCIEN_']['type'] = $GLOBALS['_GEN_commun']['info_application']->type;
}
$GLOBALS['_EF_ANCIEN_']['maintenance'] = 'false';
if (isset($GLOBALS['_GEN_commun']['info_application']->maintenance)) {
$GLOBALS['_EF_ANCIEN_']['maintenance'] = $GLOBALS['_GEN_commun']['info_application']->maintenance;
}
$GLOBALS['_EF_ANCIEN_']['statistique'] = 'true';
if (isset($GLOBALS['_GEN_commun']['info_application']->statistique)) {
$GLOBALS['_EF_ANCIEN_']['statistique'] = $GLOBALS['_GEN_commun']['info_application']->statistique;
}
// +------------------------------------------------------------------------------------------------------+
// Chemins
define('EF_PATH_ROOT','client/eflore_ancien/');
define('EF_PATH_BIBLIO',EF_PATH_ROOT.'bibliotheque/');
define('EF_PATH_CONFIG',EF_PATH_ROOT.'configuration/');
define('EF_PATH_LANGUE',EF_PATH_ROOT.'langues/');
define('EF_PATH_API','api/');
define('EF_PATH_API_BOG',EF_PATH_API.'debogage/');
define('EF_PATH_CLASSES',EF_PATH_BIBLIO.'classes/');
define('EF_PATH_DBACCESS',EF_PATH_BIBLIO.'dbaccess/');
define('EF_PATH_SERVICES',EF_PATH_BIBLIO.'servicesxml/');
define('EF_PATH_XSLT',EF_PATH_BIBLIO.'xsl/');
 
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
 
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>
/trunk/configuration/eflore_config_bdd.inc.php
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 ----------------------------------------------------------------------------------------+
*/
?>