Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
4 |
// | PHP version 4.1 |
|
4 |
// | PHP version 5.0 |
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
8 |
// | This file is part of eFlore-Serveur. |
|
8 |
// | This file is part of eFlore-Serveur. |
|
9 |
// | |
|
9 |
// | |
|
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.2 2004-12-16 16:40:59 jpm Exp $
|
24 |
// CVS : $Id: eflore_config.php,v 1.3 2004-12-16 22:07:53 fred 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.2 $ $Date: 2004-12-16 16:40:59 $
|
38 |
*@version $Revision: 1.3 $ $Date: 2004-12-16 22:07:53 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 64... |
Line 64... |
64 |
/** Constante stockant le mot de passe de l'utilisateur.*/
|
64 |
/** Constante stockant le mot de passe de l'utilisateur.*/
|
65 |
define('EFSE_BDD_MOT_DE_PASSE', 'rcf8wvc');
|
65 |
define('EFSE_BDD_MOT_DE_PASSE', 'rcf8wvc');
|
Line 66... |
Line 66... |
66 |
|
66 |
|
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.*/
|
72 |
/** Constante stockant la valeur de la racine des chemins.*/
|
73 |
define('EFSE_CHEMIN_RACINE', '/');
|
73 |
define('EFSE_CHEMIN_RACINE', '/');
|
Line 106... |
Line 106... |
106 |
define('EFSE_FICHIER_CONFIG', EFSE_CHEMIN_CONFIG.'eflore_config.php');
|
106 |
define('EFSE_FICHIER_CONFIG', EFSE_CHEMIN_CONFIG.'eflore_config.php');
|
Line 107... |
Line 107... |
107 |
|
107 |
|
108 |
/** Constante stockant la valeur de la racine des chemins.*/
|
108 |
/** Constante stockant la valeur de la racine des chemins.*/
|
Line 109... |
Line 109... |
109 |
define('EFSE_CHEMIN_GENERATEUR_RACINE', '..'.EFSE_SEP);
|
109 |
define('EFSE_CHEMIN_GENERATEUR_RACINE', '..'.EFSE_SEP);
|
110 |
|
110 |
|
111 |
// Tableau stockant les différentes valeurs permettant de configurer l'appli.
|
111 |
// Tableau stockant les différentes valeurs permettant de configurer l'appli.
|
112 |
/*
|
112 |
/*
|
113 |
$appConfig = array(
|
113 |
$appConfig = array(
|
114 |
'mysql_host' => 'localhost',
|
114 |
'mysql_host' => 'localhost',
|
115 |
'mysql_database' => 'eflore-test',
|
115 |
'mysql_database' => 'eflore-test',
|
116 |
'mysql_user' => 'eflorete',
|
116 |
'mysql_user' => 'eflorete',
|
117 |
'mysql_password' => 'rcf8wvc',
|
117 |
'mysql_password' => 'rcf8wvc',
|
118 |
'app_version' => 'Version 0.0.1',
|
118 |
'app_version' => 'Version 0.0.1',
|
119 |
'service_map' => ,
|
119 |
'service_map' => ,
|
120 |
'def_groupes'=>'definitions\\groupesmacroelements\\',
|
120 |
'def_groupes'=>'definitions\\groupesmacroelements\\',
|
121 |
'def_macro'=>'definitions\\macroelements\\',
|
121 |
'def_macro'=>'definitions\\macroelements\\',
|
122 |
'service_map'=>'definitions\\eflore_services.map',
|
122 |
'service_map'=>'definitions\\eflore_services.map',
|
123 |
'publi_html'=>'definitions\\publicationshtml\\',
|
123 |
'publi_html'=>'definitions\\publicationshtml\\',
|
124 |
'publi_xml'=>'definitions\\publicationsxml\\',
|
124 |
'publi_xml'=>'definitions\\publicationsxml\\',
|
125 |
'auto_groupes'=>'phpautomatique\\groupesmacroelements\\',
|
125 |
'auto_groupes'=>'phpautomatique\\groupesmacroelements\\',
|
126 |
'auto_macro'=>'phpautomatique\\macroelements\\'
|
126 |
'auto_macro'=>'phpautomatique\\macroelements\\'
|
127 |
);
|
127 |
);
|
128 |
*/
|
128 |
*/
|
129 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
129 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
130 |
*
|
- |
|
131 |
* $Log: not supported by cvs2svn $
|
- |
|
132 |
* Revision 1.2 2004/12/16 16:40:59 jpm
|
130 |
*
|
133 |
* Ajout de chemin.
|
131 |
* $Log: not supported by cvs2svn $
|
134 |
*
|
132 |
* Revision 1.1.1.1 2004/12/16 12:24:36 jpm
|
135 |
* Revision 1.1.1.1 2004/12/16 12:24:36 jpm
|
133 |
* Importation initiale eFlore v1.1 et serveur.
|
136 |
* Importation initiale eFlore v1.1 et serveur.
|
134 |
*
|
137 |
*
|
135 |
*
|
138 |
*
|
136 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
139 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
137 |
*/
|
140 |
*/
|