Rev 147 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*vim: set expandtab tabstop=4 shiftwidth=4: */// +------------------------------------------------------------------------------------------------------+// | PHP version 4.1 |// +------------------------------------------------------------------------------------------------------+// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |// +------------------------------------------------------------------------------------------------------+// | This library is free software; you can redistribute it and/or |// | modify it under the terms of the GNU Lesser General Public |// | License as published by the Free Software Foundation; either |// | version 2.1 of the License, or (at your option) any later version. |// | |// | This library 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 |// | Lesser General Public License for more details. |// | |// | You should have received a copy of the GNU Lesser General Public |// | License along with this library; if not, write to the Free Software |// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |// +------------------------------------------------------------------------------------------------------+// CVS : $Id: projet.config.inc.php,v 1.8 2006-07-04 09:30:56 alexandre_tb Exp $/*** Application projet, fichier de configuration** Fichier de configuration**@package projet//Auteur original :*@author Alexandre Granier <alexandre@tela-botanica.org>//Autres auteurs :*@author Aucun*@copyright Tela-Botanica 2000-2004*@version $Revision: 1.8 $// +------------------------------------------------------------------------------------------------------+*//**//==================================== LES URLS ==================================* Constantes liées à l'utilisation des url//==================================================================================*/// Définition du lien vers "voir le projet"define ("PROJET_LIEN_VOIR", "") ;/**//==================================== LES CHEMINS =================================* Constantes définissant les chemins d'accé au différents fichiers inclus dans les* applications.//==================================================================================*/define ('PROJET_CHEMIN_APPLI','client/projet/');//le chemin vers l'application courantedefine ('PROJET_CHEMIN_API_ARBRE', 'api/arbre/') ;/** Chemin vers la bibliothèque API.*/define ('PROJET_CHEMIN_BIBLIOTHEQUE_API', GEN_CHEMIN_API);define ('PROJET_CHEMIN_ICONES', PROJET_CHEMIN_APPLI."icones/") ;define ('PROJET_CHEMIN_CLASSES', PROJET_CHEMIN_APPLI.'classes/');//le chemin vers les fichiers propre à GSITEdefine ('PROJET_CHEMIN_FONCTIONS', PROJET_CHEMIN_APPLI.'fonctions/') ;define ('PROJET_CHEMIN_LIBRAIRIE','bibliotheque/');//le chemin de la librairie de fichier phpdefine ('PROJET_CHEMIN_FICHIER', "client/projet/fichiers/") ; // Chemin ou seront créer les dossiers// Chemin vers les classes pour lire les listes de discussiondefine ('PROJET_CHEMIN_CLASSES_LISTES', PROJET_CHEMIN_CLASSES."ezmlm-php-2.0/") ;// Langue pas defautdefine ('PROJET_LANGUE_DEFAUT', "fr") ;// Gestion de l'authentification$GLOBALS['projet_auth'] = $GLOBALS['_GEN_commun']['pear_auth'];// Un objet PEAR:DB connecté$GLOBALS['projet_db'] = $GLOBALS['_GEN_commun']['pear_db'];$GLOBALS['url'] =& $GLOBALS['_GEN_commun']['url'] ;// La langueif (!isset ($GLOBALS['lang'])) $GLOBALS['lang'] = PROJET_LANGUE_DEFAUT ;/**//==================================== CONSTANTES ==================================* Constantes des noms de tables et de champs dans l'annuaire//==================================================================================*/define ("PROJET_ANNUAIRE", "annuaire") ; // Nom de la table d'annuairedefine ("PROJET_CHAMPS_NOM", "a_nom") ; // Nom du champs nomdefine ("PROJET_CHAMPS_MAIL", "a_mail") ; // Nom du champs maildefine ("PROJET_CHAMPS_PRENOM", "a_prenom") ; // Nom du champs prénomdefine ("PROJET_CHAMPS_ID", "a_id") ;/**//==================================== CONSTANTES ==================================* Constantes des chemins associés aux wikinis//==================================================================================*/define ("PROJET_CHEMIN_WIKINI", "wikini/") ;define ("PROJET_HOTE_WIKINI", "localhost") ;define ("PROJET_UTILISATEUR_WIKINI", "") ;define ("PROJET_MDP_WIKINI", "") ;define ("PROJET_DB_WIKINI", "") ;define ("PROJET_URL_WIKINI", "") ; // L'url vers le wikini/**//==================================== CONSTANTES ==================================* Constantes des emails des administrateurs//==================================================================================*/define ("PROJET_MAIL_ADMINISTRATEUR", "") ;define ("PROJET_VARIABLE_ID_PROJET", "id_projet") ;define ("PROJET_VARIABLE_ACTION", "act") ;define ("PROJET_VARIABLE_ID_REPERTOIRE", "id_repertoire") ;define ("PROJET_VARIABLE_ID_DOCUMENT", "id_document") ;/**//==================================== CONSTANTES ==================================* Constantes pour les listes de discussion//==================================================================================*/define ('PROJET_CHEMIN_LISTES', '') ;define ('PROJET_DOMAINE_LISTE', '') ;define ('PROJET_CHEMIN_ATELIERS', 'http://domaine.ext/papyrus.php?site=<>&menu=<>&id_projet=<>') ;define ('PROJET_SERVEUR_VPOPMAIL', 'http://vpopmail.domaine.ext') ;/**//==================================== CONSTANTES ==================================* Constantes pour des options//==================================================================================*/define ('PROJET_UTILISE_TYPE', false) ;define ('PROJET_UTILISE_HIERARCHIE', false) ;define ('PROJET_LISTE_RESUME',true);// Mettre à true si les utilisateurs peuvent déposer des projetsdefine ('PROJET_UTILISATEURS_COORD', false) ;/* +--Fin du code ----------------------------------------------------------------------------------------+** $Log: not supported by cvs2svn $* Revision 1.7 2006/06/26 11:48:50 alexandre_tb* typographie** Revision 1.6 2006/03/02 09:24:36 mathilde* remplacement des noms de tables de l'annuaire** Revision 1.5 2006/02/15 16:33:42 alexandre_tb* ajout de la constante PROJET_UTILISATEUR_COORD** Revision 1.4 2006/01/26 14:06:07 florian* ajout des constantes d'accès à vpopmail.** Revision 1.3 2005/11/14 10:14:30 ddelon* Projets Wikini** Revision 1.2 2005/10/20 10:28:25 ddelon* Wikini complet dans l'intégrateur Wikini** Revision 1.1 2005/09/27 12:50:28 ddelon* Projet configuration*** +-- Fin du code ----------------------------------------------------------------------------------------+*/?>