New file |
0,0 → 1,91 |
<?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 Integrateur eFlore. | |
// | | |
// | 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: eflore_config.inc.php,v 1.1 2005-05-24 15:57:48 jpm Exp $ |
/** |
* Fichier de configuration |
* |
*@package eFlore |
*@subpackage Ancien |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.1 $ $Date: 2005-05-24 15:57:48 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// Définition de la langue |
/** Constante stockant la langue utilisée pour l'application.*/ |
define('EF_LANGUE', substr($GLOBALS['_GEN_commun']['i18n'], 0, 2)); |
|
// +------------------------------------------------------------------------------------------------------+ |
// Divers |
$GLOBALS['eflore_services']['location']='http://eflore.tela-botanica.org/servicesxml/'; |
$GLOBALS['_EF_ANCIEN_']['type'] = 'ANT'; |
if (isset($GLOBALS['_GEN_commun']['info_application']->type)) { |
$GLOBALS['_EF_ANCIEN_']['type'] = $GLOBALS['_GEN_commun']['info_application']->type; |
} |
$GLOBALS['_EF_ANCIEN_']['maintenance'] = 'false'; |
if (isset($GLOBALS['_GEN_commun']['info_application']->maintenance)) { |
$GLOBALS['_EF_ANCIEN_']['maintenance'] = $GLOBALS['_GEN_commun']['info_application']->maintenance; |
} |
$GLOBALS['_EF_ANCIEN_']['statistique'] = 'true'; |
if (isset($GLOBALS['_GEN_commun']['info_application']->statistique)) { |
$GLOBALS['_EF_ANCIEN_']['statistique'] = $GLOBALS['_GEN_commun']['info_application']->statistique; |
} |
// +------------------------------------------------------------------------------------------------------+ |
// Chemins |
define('EF_PATH_ROOT','client/eflore_ancien/'); |
define('EF_PATH_BIBLIO',EF_PATH_ROOT.'bibliotheque/'); |
define('EF_PATH_CONFIG',EF_PATH_ROOT.'configuration/'); |
define('EF_PATH_LANGUE',EF_PATH_ROOT.'langues/'); |
define('EF_PATH_API','api/'); |
define('EF_PATH_API_BOG',EF_PATH_API.'debogage/'); |
define('EF_PATH_CLASSES',EF_PATH_BIBLIO.'classes/'); |
define('EF_PATH_DBACCESS',EF_PATH_BIBLIO.'dbaccess/'); |
define('EF_PATH_SERVICES',EF_PATH_BIBLIO.'servicesxml/'); |
define('EF_PATH_XSLT',EF_PATH_BIBLIO.'xsl/'); |
|
// +------------------------------------------------------------------------------------------------------+ |
// | PIED du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
|
|
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |