Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
27 jpm 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
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
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: eflore_config.php,v 1.1.1.1 2004-12-16 12:24:36 jpm Exp $
25
/**
26
* Fichier de configuration 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
38
*@version       $Revision: 1.1.1.1 $ $Date: 2004-12-16 12:24:36 $
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 la base de données
58
/** Constante stockant le nom du serveur de la base de donnée.*/
59
define('EFSE_BDD_SERVEUR', 'localhost');
60
/** Constante stockant le nom de la base de donnée.*/
61
define('EFSE_BDD_NOM', 'tela_test_eflore');
62
/** Constante stockant le nom de l'utilisateur.*/
63
define('EFSE_BDD_UTILISATEUR', 'eflorete');
64
/** Constante stockant le mot de passe de l'utilisateur.*/
65
define('EFSE_BDD_MOT_DE_PASSE', 'rcf8wvc');
66
 
67
// +------------------------------------------------------------------------------------------------------+
68
// Constante de chemin de dossier et fichier
69
$separateur = strstr( PHP_OS, "WIN") ? '\\' : '/';
70
/** Constante stockant le séparateur de dossier qui dépend de l'OS.*/
71
define('EFSE_SEP', $separateur);
72
/** Constante stockant le chemin vers la bibliothèque.*/
73
define('EFSE_CHEMIN_BIBLIO', 'bibliotheque'.EFSE_SEP);
74
/** Constante stockant le chemin vers la bibliothèque des classes.*/
75
define('EFSE_CHEMIN_CLASSE', EFSE_CHEMIN_BIBLIO.'classes'.EFSE_SEP);
76
/** Constante stockant le chemin vers la bibliothèque des interfaces.*/
77
define('EFSE_CHEMIN_INTERFACE', EFSE_CHEMIN_BIBLIO.'interfaces'.EFSE_SEP);
78
/** Constante stockant le chemin vers le dossier des définitions.*/
79
define('EFSE_CHEMIN_DEFINITION', 'definitions'.EFSE_SEP);
80
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
81
define('EFSE_CHEMIN_DEF_MACRO', EFSE_CHEMIN_DEFINITION.'macro_elements'.EFSE_SEP);
82
/** Constante stockant le chemin vers les groupes de macro-éléments.*/
83
define('EFSE_CHEMIN_DEF_MACRO_GROUPE', EFSE_CHEMIN_DEFINITION.'groupes_macro_elements'.EFSE_SEP);
84
/** Constante stockant le chemin vers le dossier des publications au format xhtml.*/
85
define('EFSE_CHEMIN_DEF_PUBLI_XHTML', EFSE_CHEMIN_DEFINITION.'publications_html'.EFSE_SEP);
86
/** Constante stockant le chemin vers le dossier des publications au format xml.*/
87
define('EFSE_CHEMIN_DEF_PUBLI_XML', EFSE_CHEMIN_DEFINITION.'publications_xml'.EFSE_SEP);
88
/** Constante stockant le chemin vers le dossier des fichiers Modèles et Vues pouvant être générés.*/
89
define('EFSE_CHEMIN_MV', 'eflore_mv'.EFSE_SEP);
90
/** Constante stockant le chemin vers le dossier des Modèles.*/
91
define('EFSE_CHEMIN_MV_MODELE', EFSE_CHEMIN_MV.'modeles'.EFSE_SEP);
92
/** Constante stockant le chemin vers le dossier des Vues.*/
93
define('EFSE_CHEMIN_MV_VUE', EFSE_CHEMIN_MV.'vues'.EFSE_SEP);
94
/** Constante stockant le chemin vers le dossier permettant d'automatiser la création de PHP pour les groupes de macro-éléments.*/
95
define('EFSE_CHEMIN_MV_MACRO_GROUPE', EFSE_CHEMIN_MV_MODELE.'groupes_macro_elements'.EFSE_SEP);
96
/** 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);
98
 
99
/** Constante stockant le chemin vers la carte des services principaux.*/
100
define('EFSE_FICHIER_MAP', EFSE_CHEMIN_MV.'eflore_services.map');
101
 
102
// Tableau stockant les différentes valeurs permettant de configurer l'appli.
103
/*
104
$appConfig = array(
105
    'mysql_host' => 'localhost',
106
    'mysql_database' => 'eflore-test',
107
    'mysql_user' => 'eflorete',
108
    'mysql_password' => 'rcf8wvc',
109
    'app_version' => 'Version 0.0.1',
110
    'service_map' => ,
111
    'def_groupes'=>'definitions\\groupesmacroelements\\',
112
    'def_macro'=>'definitions\\macroelements\\',
113
    'service_map'=>'definitions\\eflore_services.map',
114
    'publi_html'=>'definitions\\publicationshtml\\',
115
    'publi_xml'=>'definitions\\publicationsxml\\',
116
    'auto_groupes'=>'phpautomatique\\groupesmacroelements\\',
117
    'auto_macro'=>'phpautomatique\\macroelements\\'
118
);
119
*/
120
/* +--Fin du code ----------------------------------------------------------------------------------------+
121
*
122
* $Log: not supported by cvs2svn $
123
*
124
* +-- Fin du code ----------------------------------------------------------------------------------------+
125
*/
126
?>