Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 27 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27 Rev 31
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: eflore_config.php,v 1.1.1.1 2004-12-16 12:24:36 jpm Exp $
24
// CVS : $Id: eflore_config.php,v 1.2 2004-12-16 16:40:59 jpm Exp $
25
/**
25
/**
26
* Fichier de configuration d'eFlore-Serveur
26
* Fichier de configuration d'eFlore-Serveur
27
*
27
*
28
* Ce fichier contient les constantes et éventuellement des variables globales contenant toutes les info
28
* Ce fichier contient les constantes et éventuellement des variables globales contenant toutes les info
29
* nécessaire à la configuration du programme eFlore-Serveur.
29
* nécessaire à la configuration du programme eFlore-Serveur.
Line 33... Line 33...
33
//Auteur original :
33
//Auteur original :
34
*@author        Frédéric LEGENS <flegens@free.fr>
34
*@author        Frédéric LEGENS <flegens@free.fr>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
36
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
37
*@copyright     Tela-Botanica 2000-2004
37
*@copyright     Tela-Botanica 2000-2004
38
*@version       $Revision: 1.1.1.1 $ $Date: 2004-12-16 12:24:36 $
38
*@version       $Revision: 1.2 $ $Date: 2004-12-16 16:40:59 $
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
*/
40
*/
Line 41... Line 41...
41
 
41
 
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
Line 67... Line 67...
67
// +------------------------------------------------------------------------------------------------------+
67
// +------------------------------------------------------------------------------------------------------+
68
// Constante de chemin de dossier et fichier
68
// Constante de chemin de dossier et fichier
69
$separateur = strstr( PHP_OS, "WIN") ? '\\' : '/';
69
$separateur = strstr( PHP_OS, "WIN") ? '\\' : '/';
70
/** Constante stockant le séparateur de dossier qui dépend de l'OS.*/
70
/** Constante stockant le séparateur de dossier qui dépend de l'OS.*/
71
define('EFSE_SEP', $separateur);
71
define('EFSE_SEP', $separateur);
-
 
72
/** Constante stockant la valeur de la racine des chemins.*/
-
 
73
define('EFSE_CHEMIN_RACINE', '/');
-
 
74
/** Constante stockant le chemin vers la configuration.*/
-
 
75
define('EFSE_CHEMIN_CONFIG', 'configuration'.EFSE_SEP);
72
/** Constante stockant le chemin vers la bibliothèque.*/
76
/** Constante stockant le chemin vers la bibliothèque.*/
73
define('EFSE_CHEMIN_BIBLIO', 'bibliotheque'.EFSE_SEP);
77
define('EFSE_CHEMIN_BIBLIO', 'bibliotheque'.EFSE_SEP);
74
/** Constante stockant le chemin vers la bibliothèque des classes.*/
78
/** Constante stockant le chemin vers la bibliothèque des classes.*/
75
define('EFSE_CHEMIN_CLASSE', EFSE_CHEMIN_BIBLIO.'classes'.EFSE_SEP);
79
define('EFSE_CHEMIN_CLASSE', EFSE_CHEMIN_BIBLIO.'classes'.EFSE_SEP);
76
/** Constante stockant le chemin vers la bibliothèque des interfaces.*/
80
/** Constante stockant le chemin vers la bibliothèque des interfaces.*/
Line 96... Line 100...
96
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les macro-éléments.*/
100
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les macro-éléments.*/
97
define('EFSE_CHEMIN_MV_MACRO', EFSE_CHEMIN_MV_MODELE.'macro_elements'.EFSE_SEP);
101
define('EFSE_CHEMIN_MV_MACRO', EFSE_CHEMIN_MV_MODELE.'macro_elements'.EFSE_SEP);
Line 98... Line 102...
98
 
102
 
99
/** Constante stockant le chemin vers la carte des services principaux.*/
103
/** Constante stockant le chemin vers la carte des services principaux.*/
-
 
104
define('EFSE_FICHIER_MAP', EFSE_CHEMIN_MV.'eflore_services.map');
-
 
105
/** Constante stockant le chemin vers le fichier de configuration principal.*/
-
 
106
define('EFSE_FICHIER_CONFIG', EFSE_CHEMIN_CONFIG.'eflore_config.php');
-
 
107
 
-
 
108
/** Constante stockant la valeur de la racine des chemins.*/
Line 100... Line 109...
100
define('EFSE_FICHIER_MAP', EFSE_CHEMIN_MV.'eflore_services.map');
109
define('EFSE_CHEMIN_GENERATEUR_RACINE', '..'.EFSE_SEP);
101
 
110
 
102
// Tableau stockant les différentes valeurs permettant de configurer l'appli.
111
// Tableau stockant les différentes valeurs permettant de configurer l'appli.
103
/*
112
/*
Line 118... Line 127...
118
);
127
);
119
*/
128
*/
120
/* +--Fin du code ----------------------------------------------------------------------------------------+
129
/* +--Fin du code ----------------------------------------------------------------------------------------+
121
*
130
*
122
* $Log: not supported by cvs2svn $
131
* $Log: not supported by cvs2svn $
-
 
132
* Revision 1.1.1.1  2004/12/16 12:24:36  jpm
-
 
133
* Importation initiale eFlore v1.1 et serveur.
-
 
134
*
123
*
135
*
124
* +-- Fin du code ----------------------------------------------------------------------------------------+
136
* +-- Fin du code ----------------------------------------------------------------------------------------+
125
*/
137
*/
126
?>
138
?>
127
139