Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 87 → Rev 88

/trunk/serveur/configuration/eflore_config_avancee.inc.php
File deleted
\ No newline at end of file
/trunk/serveur/configuration/eribo_config_avancee.inc.php
New file
0,0 → 1,135
<?php
/*vim: set expandtab tabstop=4 shiftwidth=4: */
// +------------------------------------------------------------------------------------------------------+
// | PHP version 5.0 |
// +------------------------------------------------------------------------------------------------------+
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
// +------------------------------------------------------------------------------------------------------+
// | This file is part of eFlore-Serveur. |
// | |
// | 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: eribo_config_avancee.inc.php,v 1.1 2005-01-19 13:05:11 jpm Exp $
/**
* Fichier de configuration avancée d'eFlore-Serveur
*
* Ce fichier contient les constantes et éventuellement des variables globales contenant toutes les info
* nécessaire à la configuration du programme eFlore-Serveur.
*
*@package eFlore-Serveur
*@subpackage Configuration
//Auteur original :
*@author Frédéric LEGENS <flegens@free.fr>
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1 $ $Date: 2005-01-19 13:05:11 $
// +------------------------------------------------------------------------------------------------------+
*/
 
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
 
// +------------------------------------------------------------------------------------------------------+
// | CORPS du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
// Constante générale
/** Constante stockant la version du programme.*/
define('EFSE_VERSION', '0.0.1');
/** Constante stockant l'intitulé de version du programme.*/
define('EFSE_VERSION_INTITULE', 'Version '.EFSE_VERSION);
 
// +------------------------------------------------------------------------------------------------------+
// Constante de chemin de dossier et fichier
$separateur = strstr( PHP_OS, "WIN") ? '\\' : '/';
/** Constante stockant le séparateur de dossier qui dépend de l'OS.*/
define('EFSE_SEP', $separateur);
/** Constante stockant la valeur de la racine des chemins.*/
define('EFSE_CHEMIN_RACINE', '/');
/** Constante stockant le chemin vers la configuration.*/
define('EFSE_CHEMIN_CONFIG', 'configuration'.EFSE_SEP);
/** Constante stockant le chemin vers la bibliothèque.*/
define('EFSE_CHEMIN_BIBLIO', 'bibliotheque'.EFSE_SEP);
/** Constante stockant le chemin vers la bibliothèque des classes.*/
define('EFSE_CHEMIN_CLASSE', EFSE_CHEMIN_BIBLIO.'classes'.EFSE_SEP);
/** Constante stockant le chemin vers la bibliothèque des fonctions.*/
define('EFSE_CHEMIN_FONCTION', EFSE_CHEMIN_BIBLIO.'fonctions'.EFSE_SEP);
/** Constante stockant le chemin vers la bibliothèque des interfaces.*/
define('EFSE_CHEMIN_INTERFACE', EFSE_CHEMIN_BIBLIO.'interfaces'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des définitions.*/
define('EFSE_CHEMIN_DEFINITION', 'definitions'.EFSE_SEP);
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
define('EFSE_CHEMIN_DEF_MACRO', EFSE_CHEMIN_DEFINITION.'macro_elements'.EFSE_SEP);
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
define('EFSE_CHEMIN_DEF_MACRO_GROUPE', EFSE_CHEMIN_DEFINITION.'groupes_macro_elements'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des publications au format xhtml.*/
define('EFSE_CHEMIN_DEF_PUBLI_XHTML', EFSE_CHEMIN_DEFINITION.'publications_html'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des publications au format xml.*/
define('EFSE_CHEMIN_DEF_PUBLI_XML', EFSE_CHEMIN_DEFINITION.'publications_xml'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des fichiers Modèles et Vues pouvant être générés.*/
define('EFSE_CHEMIN_MV', 'eflore_mv'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des Modèles.*/
define('EFSE_CHEMIN_MV_MODELE', EFSE_CHEMIN_MV.'modeles'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier des Vues.*/
define('EFSE_CHEMIN_MV_VUE', EFSE_CHEMIN_MV.'vues'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les groupes de macro-éléments.*/
define('EFSE_CHEMIN_MV_MACRO_GROUPE', EFSE_CHEMIN_MV_MODELE.'groupes_macro_elements'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les macro-éléments.*/
define('EFSE_CHEMIN_MV_MACRO', EFSE_CHEMIN_MV_MODELE.'macro_elements'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier du générateur vis à vis de la racine des fichiers du serveur.*/
define('EFSE_CHEMIN_GENERATEUR', 'generateur'.EFSE_SEP);
/** Constante stockant le chemin pour aller à la racine du serveur vis à vis du fichier principal du générateur.*/
define('EFSE_CHEMIN_GENERATEUR_RACINE', '..'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier xslt du générateur vis à vis de l'emplacement du fichier principal du générateur.*/
define('EFSE_CHEMIN_GENE_XSLT', 'xslt'.EFSE_SEP);
/** Constante stockant le chemin vers le dossier css du générateur.*/
define('EFSE_CHEMIN_GENE_CSS', 'css'.EFSE_SEP);
 
/** Constante stockant le chemin vers la carte des services principaux.*/
define('EFSE_FICHIER_MAP', EFSE_CHEMIN_MV.'eflore_services.map');
/** Constante stockant le chemin vers le fichier de configuration principal.*/
define('EFSE_FICHIER_CONFIG', EFSE_CHEMIN_CONFIG.'eflore_config.php');
 
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2005/01/19 12:54:47 jpm
* Ajout d'un chemin.
*
* Revision 1.2 2004/12/22 13:33:18 jpm
* Modification commentaire.
*
* Revision 1.1 2004/12/22 13:28:16 jpm
* Les constantes et variables non liées à la sécurité.
*
* Revision 1.4 2004/12/22 13:24:47 jpm
* Modif.
*
* Revision 1.3 2004/12/16 22:07:53 fred
* correction du numéro de version de PHP
*
* Revision 1.2 2004/12/16 16:40:59 jpm
* Ajout de chemin.
*
* Revision 1.1.1.1 2004/12/16 12:24:36 jpm
* Importation initiale eFlore v1.1 et serveur.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>