/tags/v4.0/scripts/configuration/config_chemin.inc.php |
---|
New file |
0,0 → 1,67 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.3 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of eFlore-consultation. | |
// | | |
// | 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: ef_config_chemin.inc.php,v 1.16 2007-07-17 07:48:23 jp_milcent Exp $ |
/** |
* Fichier de configuration des chemins des fichiers utilisés par l'application eFlore. |
* |
* Fichier contenant des constantes et des variables globales permettant de configurer eFlore-consultation. |
* |
*@package eflore |
*@subpackage configuration |
//Auteur original : |
*@author Linda ANGAMA<linda_angama@yahoo.fr> |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.16 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// Définition des chemins de fichiers. |
/** Constante stockant le chemin vers le dossier modules.*/ |
define('SC_CHEMIN_MODULE', SC_CHEMIN_APPLI.'modules/'); |
/** Constante stockant le chemin vers le dossier bibliothèque.*/ |
define('SC_CHEMIN_BIBLIO', SC_CHEMIN_APPLI.'bibliotheque/'); |
/** Constante stockant le chemin vers le dossier metier.*/ |
define('SC_CHEMIN_BIBLIO_METIER', Sc_CHEMIN_BIBLIO.'metier/'); |
/** Constante stockant le chemin vers le dossier noyau.*/ |
define('SC_CHEMIN_BIBLIO_NOYAU', SC_CHEMIN_BIBLIO.'noyau/'); |
/** Constante stockant le chemin vers l'API PEAR.*/ |
define('SC_CHEMIN_PEAR', '../api/pear/'); |
// +------------------------------------------------------------------------------------------------------+ |
// Tableaux sotckant les chemins des classes pour la fonction autoload |
$GLOBALS['_SCRIPT_']['chemins_classes'] = array( SC_CHEMIN_BIBLIO_NOYAU, |
SC_CHEMIN_BIBLIO_METIER); |
?> |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/tags/v4.0/scripts/configuration/config.inc.php.defaut |
---|
New file |
0,0 → 1,125 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.3 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of eFlore-consultation. | |
// | | |
// | 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: ef_config.inc.php.sauv,v 1.1 2005/12/21 15:11:13 jp_milcent Exp $ |
/** |
* Fichier de configuration des paramêtres sépcifique à un déploiement d'eFlore. |
* |
* Fichier contenant des constantes et des variables globales permettant de configurer eFlore-consultation. |
* |
*@package eflore |
*@subpackage configuration |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.1 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// LA LIVRAISON : |
define('SC_LIVRAISON', 'HEAD'); |
// +------------------------------------------------------------------------------------------------------+ |
// LA DISTRIBUTION : |
/** Constante stockant le nom de la distribution. Utile lorsqu'on déploie cette appli pour un site particulier et |
* que l'on veut pouvoir employer des squelettes particuliers pour chaque module.*/ |
define('SC_DISTRIBUTION', 'tela'); |
// +------------------------------------------------------------------------------------------------------+ |
// Définition des valeurs par défaut de l'interface d'eFlore |
$GLOBALS['_SCRIPT_']['titre'] = 'Script';// Le titre générique de l'application |
// +------------------------------------------------------------------------------------------------------+ |
// Gestion de Pear |
// define('SC_CHEMIN_PEAR', ''); |
// set_include_path(get_include_path().PATH_SEPARATOR.SC_CHEMIN_PEAR); |
// +------------------------------------------------------------------------------------------------------+ |
// Définition de la langue |
/** Constante stockant la langue principale utilisée pour l'application.*/ |
define('SC_LANGUE_PRINCIPALE', 'fr'); |
// +------------------------------------------------------------------------------------------------------+ |
// Gestion des dates |
/** Définition du fuseau horaire à utiliser pour eFlore. */ |
date_default_timezone_set('Europe/Paris'); |
// +------------------------------------------------------------------------------------------------------+ |
// Débogage |
/** Constante stockant si oui ou non on veut afficher le débogage.*/ |
define('SC_DEBOGAGE', true); |
/** Constante stockant si oui ou non on veut afficher le débogage des fichiers PEAR.*/ |
define('SC_DEBOGAGE_PEAR', false); |
/** Constante stockant la chaine permettant de repérer en se basabt sur le chemin, les fichiers provenant de la bibliothèque PEAR.*/ |
define('SC_DEBOGAGE_PEAR_CHAINE', '/lib/php/'); |
/** Constante stockant une expression régulière permettant de repérer en se basant sur le message, les fichiers provenant de la bibliothèque PEAR.*/ |
define('SC_DEBOGAGE_PEAR_REGEXP_MESSAGE', '/^Non-static method (?:DB::connect|PEAR::isError)/'); |
/** Constante stockant si oui ou non on veut afficher le contexte de débogage.*/ |
define('SC_DEBOGAGE_CONTEXTE', false); |
/** Constante stockant une valeur correspondant au niveau d'erreur à employer pour le code PHP.*/ |
define('SC_DEBOGAGE_NIVEAU', 2048);// Voir le manuel de PHP pour les différents niveaux disponibles. |
/** Constante stockant si oui ou nom on veut afficher le tableau de chronométrage de l'application.*/ |
define('SC_DEBOGAGE_CHRONO', true); |
ini_set('html_errors', true); |
// +------------------------------------------------------------------------------------------------------+ |
// Paramétrage de la base de données. |
/** Constante stockant le protocole de la base de données.*/ |
define('SC_BDD_PROTOCOLE', 'mysql'); |
/** Constante stockant le nom du serveur de bases de données.*/ |
define('SC_BDD_SERVEUR', 'localhost'); |
/** Constante stockant le nom de l'utilisateur de la base de données.*/ |
define('SC_BDD_UTILISATEUR', ''); |
/** Constante stockant le mot de passse de l'utilisateur de la base de données.*/ |
define('SC_BDD_MOT_DE_PASSE', ''); |
/** Constante stockant le nom de la base de données principale.*/ |
define('SC_BDD_NOM_PRINCIPALE', 'tela_prod_wikini'); |
// +------------------------------------------------------------------------------------------------------+ |
// Définition des chemins où stocker les fichiers |
/** Constante stockant si oui ou non, nous appliquons un mécanisme de cache.*/ |
define('SC_BOOL_STOCKAGE_CACHE', false); |
/** Constante stockant le chemin vers le dossier où sont stockés les pages mise en cache.*/ |
define('SC_CHEMIN_STOCKAGE_CACHE', '/home/telabotap/tmp/'); |
// +------------------------------------------------------------------------------------------------------+ |
// Les URLs |
/** Constante stockant l'URL de base de l'application recherche de plante sous forme de chaine txt.*/ |
define('SC_URL', 'http://www.tela-botanica.org/scripts/'); |
/** Constante stockant l'URL du fichier css "complexe" (= pour les navigateurs récents) de Tela Botanica.*/ |
define('SC_URL_CSS_TB_COMPLEXE', 'http://www.tela-botanica.org/sites/commun/fr/styles/commun_complexe.css'); |
/** Constante stockant l'URL du fichier css "simple" (= pour les vieux navigateurs) de Tela Botanica.*/ |
define('SC_URL_CSS_TB_SIMPLE', 'http://www.tela-botanica.org/sites/commun/fr/styles/commun_simple.css'); |
/** Constante stockant l'URL du fichier css "impression" de Tela Botanica.*/ |
define('SC_URL_CSS_TB_IMPRESSION', 'http://www.tela-botanica.org/sites/commun/fr/styles/impression.css'); |
/** Constante stockant l'URL du fichier css d'eFlore.*/ |
define('SC_URL_CSS_EFLORE', 'http://www.tela-botanica.org/sites/eflore/fr/styles/eflore.css'); |
/** Constante stockant le chemin (l'url) vers le dossier js (javascript)*/ |
define('SC_URL_JS','http://www.tela-botanica.org/scripts/bibliotheque/js/'); |
?> |
/tags/v4.0/scripts/configuration/config_bdd.inc.php |
---|
New file |
0,0 → 1,89 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.3 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of eFlore-consultation. | |
// | | |
// | 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: ef_config_bdd.inc.php,v 1.9 2007-06-19 10:32:57 jp_milcent Exp $ |
/** |
* Fichier de configuration de la base de données d'eFlore. |
* |
* Contient les constantes de connexion à la base de données d'eFlore. |
* |
*@package eflore |
*@subpackage configuration |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.9 $ $Date: 2007-06-19 10:32:57 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// Paramétrage de la valeur du DSN pour Pear DB. |
/** Constante stockant le DSN permetant de se connecter à la base de données principale.*/ |
define('SC_DSN_PRINCIPAL', SC_BDD_PROTOCOLE.'://'.SC_BDD_UTILISATEUR.':'.SC_BDD_MOT_DE_PASSE.'@'.SC_BDD_SERVEUR.'/'.SC_BDD_NOM_PRINCIPALE); |
$GLOBALS['_SCRIPT_']['dsn'] = SC_DSN_PRINCIPAL; |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: ef_config_bdd.inc.php,v $ |
* Revision 1.9 2007-06-19 10:32:57 jp_milcent |
* Début utilisation de classes par module utilisant l'API 1.1.1. |
* Renomage des anciennes classes en "Deprecie". |
* |
* Revision 1.8 2005-12-21 15:11:13 jp_milcent |
* Nouvelle gestion de la configuration. |
* |
* Revision 1.7 2005/12/15 16:01:21 jp_milcent |
* Fusion de la branche bdnff_v3_v4 vers la branche principale. |
* |
* Revision 1.6 2005/12/04 23:57:28 ddelon |
* Recherche approchee |
* |
* Revision 1.5 2005/10/06 18:48:47 jp_milcent |
* Modif |
* |
* Revision 1.4 2005/08/30 16:11:13 jp_milcent |
* La recherche dans la classification fonctionne de manière récursive. |
* |
* Revision 1.3 2005/07/28 15:37:56 jp_milcent |
* Début gestion des squelettes et de l'API eFlore. |
* |
* Revision 1.2 2005/07/26 16:27:29 jp_milcent |
* Début mise en place framework eFlore. |
* |
* Revision 1.1 2005/07/26 09:19:05 jp_milcent |
* Légère modif. |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/tags/v4.0/scripts/configuration/. |
---|
New file |
Property changes: |
Added: svn:ignore |
+config.inc.php |