New file |
0,0 → 1,70 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of Biblio Bota. | |
// | | |
// | 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: bb_config_url.inc.php,v 1.1 2005-11-23 10:22:25 jp_milcent Exp $ |
/** |
* Configuration générale des url des applications de Biblio Bota |
* |
* Ce fichier permet de stocker les valeurs concernant les url communes aux différentes applications |
* constituant Biblio Bota. |
* |
*@package BiblioBota |
*@subpackage Configuration |
//Auteur original : |
*@author Jean-Pascal MILENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:22:25 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
// +------------------------------------------------------------------------------------------------------+ |
// Définition des URL |
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments. |
//ini_set('arg_separator.output', '&');// Déjà défini dans Papyrus |
/** Constante stockant l'url de base de l'application.*/ |
define('BB_URL_COURANTE', $GLOBALS['_GEN_commun']['url']->getUrl()); |
/** Constante stockant l'url de base et un argument appelant l'application bb_admin de Biblio Bota.*/ |
define('BB_URL_COURANTE_ADMIN', $GLOBALS['_GEN_commun']['url']->getUrl().'&appli=bb_admin'); |
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation de Biblio Bota.*/ |
define('BB_URL_COURANTE_CONSULTATION', $GLOBALS['_GEN_commun']['url']->getUrl().'&appli=bb_consultation'); |
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation en mode avancé de Biblio Bota.*/ |
define('BB_URL_COURANTE_CONSULTATION_AVANCEE', $GLOBALS['_GEN_commun']['url']->getUrl().'&appli=bb_consultation&consultation=avancee'); |
/** Constante stockant la valeur i18n fournie par Papyrus et pouvant être passée dans l'url.*/ |
define('BB_URL_I18N', $GLOBALS['_GEN_commun']['i18n']); |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/03/01 16:25:57 jpm |
* Mise dans un fichier distinct des constantes d'url utilisant Net_URL de Pear. |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |