21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: herbier.php,v 1.5 2006-10-31 15:06:44 jp_milcent Exp $ |
// CVS : $Id: herbier.php,v 1.6 2006-10-31 15:19:15 jp_milcent Exp $ |
/** |
* Application Herbier |
* |
38,7 → 38,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@clapas.org> |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.5 $ $Date: 2006-10-31 15:06:44 $ |
*@version $Revision: 1.6 $ $Date: 2006-10-31 15:19:15 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
45,6 → 45,18 |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// Pour une utilisation hors de Papyrus |
if (!defined('PAP_VERSION')) { |
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments. (compatible XHTML strict) |
ini_set('arg_separator.output', '&'); |
define('GEN_SEP', DIRECTORY_SEPARATOR); |
define('PAP_CHEMIN_RACINE', dirname(realpath(__FILE__)).GEN_SEP.'..'.GEN_SEP.'..'.GEN_SEP); |
define('GEN_CHEMIN_API', PAP_CHEMIN_RACINE.'api'.GEN_SEP); |
define('GEN_CHEMIN_CLIENT', PAP_CHEMIN_RACINE.'client'.GEN_SEP); |
define('PAP_CHEMIN_API_PEAR', GEN_CHEMIN_API.'pear'.GEN_SEP); |
$GLOBALS['_GEN_commun']['i18n'] = 'fr'; |
$GLOBALS['_DEBOGAGE_'] = ''; |
} |
// +------------------------------------------------------------------------------------------------------+ |
// Gestion du chemin de l'application et de son dossier de configuration |
/** Constante "dynamique" stockant le chemin absolue de base de l'application recherche de plante.*/ |
234,6 → 246,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.5 2006/10/31 15:06:44 jp_milcent |
* Fin de gestion des flux rss. |
* |
* Revision 1.4 2006/10/31 10:31:36 jp_milcent |
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus. |
* |