Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 90 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
88 jpm 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 5.0                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of eFlore-Serveur.                                                                 |
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
// +------------------------------------------------------------------------------------------------------+
158 jpm 24
// CVS : $Id: eribo_config_avancee.inc.php,v 1.3 2005-02-23 17:32:17 jpm Exp $
88 jpm 25
/**
26
* Fichier de configuration avancée d'eFlore-Serveur
27
*
28
* Ce fichier contient les constantes et éventuellement des variables globales contenant toutes les info
29
* nécessaire à la configuration du programme eFlore-Serveur.
30
*
31
*@package eFlore-Serveur
32
*@subpackage Configuration
33
//Auteur original :
34
*@author        Frédéric LEGENS <flegens@free.fr>
35
//Autres auteurs :
36
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
37
*@copyright     Tela-Botanica 2000-2004
158 jpm 38
*@version       $Revision: 1.3 $ $Date: 2005-02-23 17:32:17 $
88 jpm 39
// +------------------------------------------------------------------------------------------------------+
40
*/
41
 
42
// +------------------------------------------------------------------------------------------------------+
43
// |                                            ENTETE du PROGRAMME                                       |
44
// +------------------------------------------------------------------------------------------------------+
45
 
46
 
47
// +------------------------------------------------------------------------------------------------------+
48
// |                                            CORPS du PROGRAMME                                        |
49
// +------------------------------------------------------------------------------------------------------+
50
// Constante générale
51
/** Constante stockant la version du programme.*/
52
define('EFSE_VERSION', '0.0.1');
53
/** Constante stockant l'intitulé de version du programme.*/
54
define('EFSE_VERSION_INTITULE', 'Version '.EFSE_VERSION);
55
 
56
// +------------------------------------------------------------------------------------------------------+
57
// Constante de chemin de dossier et fichier
90 jpm 58
$separateur = strstr( PHP_OS, 'WIN') ? '\\' : '/';
88 jpm 59
/** Constante stockant le séparateur de dossier qui dépend de l'OS.*/
60
define('EFSE_SEP', $separateur);
61
/** Constante stockant la valeur de la racine des chemins.*/
62
define('EFSE_CHEMIN_RACINE', '/');
63
/** Constante stockant le chemin vers la configuration.*/
64
define('EFSE_CHEMIN_CONFIG', 'configuration'.EFSE_SEP);
65
/** Constante stockant le chemin vers la bibliothèque.*/
66
define('EFSE_CHEMIN_BIBLIO', 'bibliotheque'.EFSE_SEP);
67
/** Constante stockant le chemin vers la bibliothèque des classes.*/
68
define('EFSE_CHEMIN_CLASSE', EFSE_CHEMIN_BIBLIO.'classes'.EFSE_SEP);
69
/** Constante stockant le chemin vers la bibliothèque des fonctions.*/
70
define('EFSE_CHEMIN_FONCTION', EFSE_CHEMIN_BIBLIO.'fonctions'.EFSE_SEP);
158 jpm 71
/** Constante stockant le chemin vers la bibliothèque de cartographie.*/
72
define('EFSE_CHEMIN_CARTO', EFSE_CHEMIN_BIBLIO.'carto'.EFSE_SEP);
88 jpm 73
/** Constante stockant le chemin vers la bibliothèque des interfaces.*/
74
define('EFSE_CHEMIN_INTERFACE', EFSE_CHEMIN_BIBLIO.'interfaces'.EFSE_SEP);
75
/** Constante stockant le chemin vers le dossier des définitions.*/
76
define('EFSE_CHEMIN_DEFINITION', 'definitions'.EFSE_SEP);
77
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
78
define('EFSE_CHEMIN_DEF_MACRO', EFSE_CHEMIN_DEFINITION.'macro_elements'.EFSE_SEP);
79
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
80
define('EFSE_CHEMIN_DEF_MACRO_GROUPE', EFSE_CHEMIN_DEFINITION.'groupes_macro_elements'.EFSE_SEP);
81
/** Constante stockant le chemin vers le dossier des publications au format xhtml.*/
82
define('EFSE_CHEMIN_DEF_PUBLI_XHTML', EFSE_CHEMIN_DEFINITION.'publications_html'.EFSE_SEP);
83
/** Constante stockant le chemin vers le dossier des publications au format xml.*/
84
define('EFSE_CHEMIN_DEF_PUBLI_XML', EFSE_CHEMIN_DEFINITION.'publications_xml'.EFSE_SEP);
85
/** Constante stockant le chemin vers le dossier des fichiers Modèles et Vues pouvant être générés.*/
86
define('EFSE_CHEMIN_MV', 'eflore_mv'.EFSE_SEP);
87
/** Constante stockant le chemin vers le dossier des Modèles.*/
88
define('EFSE_CHEMIN_MV_MODELE', EFSE_CHEMIN_MV.'modeles'.EFSE_SEP);
89
/** Constante stockant le chemin vers le dossier des Vues.*/
90
define('EFSE_CHEMIN_MV_VUE', EFSE_CHEMIN_MV.'vues'.EFSE_SEP);
91
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les groupes de macro-éléments.*/
92
define('EFSE_CHEMIN_MV_MACRO_GROUPE', EFSE_CHEMIN_MV_MODELE.'groupes_macro_elements'.EFSE_SEP);
93
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les macro-éléments.*/
94
define('EFSE_CHEMIN_MV_MACRO', EFSE_CHEMIN_MV_MODELE.'macro_elements'.EFSE_SEP);
95
/** Constante stockant le chemin vers le dossier du générateur vis à vis de la racine des fichiers du serveur.*/
96
define('EFSE_CHEMIN_GENERATEUR', 'generateur'.EFSE_SEP);
97
/** Constante stockant le chemin pour aller à la racine du serveur vis à vis du fichier principal du générateur.*/
98
define('EFSE_CHEMIN_GENERATEUR_RACINE', '..'.EFSE_SEP);
99
/** Constante stockant le chemin vers le dossier xslt du générateur vis à vis de l'emplacement du fichier principal du générateur.*/
100
define('EFSE_CHEMIN_GENE_XSLT', 'xslt'.EFSE_SEP);
101
/** Constante stockant le chemin vers le dossier css du générateur.*/
102
define('EFSE_CHEMIN_GENE_CSS', 'css'.EFSE_SEP);
103
 
104
/** Constante stockant le chemin vers la carte des services principaux.*/
105
define('EFSE_FICHIER_MAP', EFSE_CHEMIN_MV.'eflore_services.map');
106
/** Constante stockant le chemin vers le fichier de configuration principal.*/
90 jpm 107
define('EFSE_FICHIER_CONFIG', EFSE_CHEMIN_CONFIG.'eribo_config.php');
88 jpm 108
 
109
 
110
/* +--Fin du code ----------------------------------------------------------------------------------------+
111
*
112
* $Log: not supported by cvs2svn $
158 jpm 113
* Revision 1.2  2005/01/19 15:23:19  jpm
114
* Changement de nom de fichier.
115
*
90 jpm 116
* Revision 1.1  2005/01/19 13:05:11  jpm
117
* Changement de nom.
118
*
88 jpm 119
* Revision 1.3  2005/01/19 12:54:47  jpm
120
* Ajout d'un chemin.
121
*
122
* Revision 1.2  2004/12/22 13:33:18  jpm
123
* Modification commentaire.
124
*
125
* Revision 1.1  2004/12/22 13:28:16  jpm
126
* Les constantes et variables non liées à la sécurité.
127
*
128
* Revision 1.4  2004/12/22 13:24:47  jpm
129
* Modif.
130
*
131
* Revision 1.3  2004/12/16 22:07:53  fred
132
* correction du numéro de version de PHP
133
*
134
* Revision 1.2  2004/12/16 16:40:59  jpm
135
* Ajout de chemin.
136
*
137
* Revision 1.1.1.1  2004/12/16 12:24:36  jpm
138
* Importation initiale eFlore v1.1 et serveur.
139
*
140
*
141
* +-- Fin du code ----------------------------------------------------------------------------------------+
142
*/
143
?>