| Line 19... |
Line 19... |
| 19 |
// | |
|
19 |
// | |
|
| 20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
| 21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
| 22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
| 24 |
// CVS : $Id: herbier.php,v 1.5 2006-10-31 15:06:44 jp_milcent Exp $
|
24 |
// CVS : $Id: herbier.php,v 1.6 2006-10-31 15:19:15 jp_milcent Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Application Herbier
|
26 |
* Application Herbier
|
| 27 |
*
|
27 |
*
|
| 28 |
* Cette application permet de consulter et d'administrer des collection botanique comprise dans le modèle
|
28 |
* Cette application permet de consulter et d'administrer des collection botanique comprise dans le modèle
|
| 29 |
* d'Herbier.
|
29 |
* d'Herbier.
|
| Line 36... |
Line 36... |
| 36 |
//Auteur original :
|
36 |
//Auteur original :
|
| 37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
| 38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
| 39 |
*@author Jean-Pascal MILCENT <jpm@clapas.org>
|
39 |
*@author Jean-Pascal MILCENT <jpm@clapas.org>
|
| 40 |
*@copyright Tela-Botanica 2000-2005
|
40 |
*@copyright Tela-Botanica 2000-2005
|
| 41 |
*@version $Revision: 1.5 $ $Date: 2006-10-31 15:06:44 $
|
41 |
*@version $Revision: 1.6 $ $Date: 2006-10-31 15:19:15 $
|
| 42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
| 43 |
*/
|
43 |
*/
|
| Line 44... |
Line 44... |
| 44 |
|
44 |
|
| 45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
| 46 |
// | ENTETE du PROGRAMME |
|
46 |
// | ENTETE du PROGRAMME |
|
| - |
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
| - |
|
48 |
// Pour une utilisation hors de Papyrus
|
| - |
|
49 |
if (!defined('PAP_VERSION')) {
|
| - |
|
50 |
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments. (compatible XHTML strict)
|
| - |
|
51 |
ini_set('arg_separator.output', '&');
|
| - |
|
52 |
define('GEN_SEP', DIRECTORY_SEPARATOR);
|
| - |
|
53 |
define('PAP_CHEMIN_RACINE', dirname(realpath(__FILE__)).GEN_SEP.'..'.GEN_SEP.'..'.GEN_SEP);
|
| - |
|
54 |
define('GEN_CHEMIN_API', PAP_CHEMIN_RACINE.'api'.GEN_SEP);
|
| - |
|
55 |
define('GEN_CHEMIN_CLIENT', PAP_CHEMIN_RACINE.'client'.GEN_SEP);
|
| - |
|
56 |
define('PAP_CHEMIN_API_PEAR', GEN_CHEMIN_API.'pear'.GEN_SEP);
|
| - |
|
57 |
$GLOBALS['_GEN_commun']['i18n'] = 'fr';
|
| - |
|
58 |
$GLOBALS['_DEBOGAGE_'] = '';
|
| 47 |
// +------------------------------------------------------------------------------------------------------+
|
59 |
}
|
| 48 |
// +------------------------------------------------------------------------------------------------------+
|
60 |
// +------------------------------------------------------------------------------------------------------+
|
| 49 |
// Gestion du chemin de l'application et de son dossier de configuration
|
61 |
// Gestion du chemin de l'application et de son dossier de configuration
|
| 50 |
/** Constante "dynamique" stockant le chemin absolue de base de l'application recherche de plante.*/
|
62 |
/** Constante "dynamique" stockant le chemin absolue de base de l'application recherche de plante.*/
|
| 51 |
define('HB_CHEMIN_APPLI', dirname(realpath(__FILE__)).GEN_SEP);
|
63 |
define('HB_CHEMIN_APPLI', dirname(realpath(__FILE__)).GEN_SEP);
|
| Line 232... |
Line 244... |
| 232 |
|
244 |
|
| 233 |
|
245 |
|
| 234 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
246 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
247 |
*
|
| - |
|
248 |
* $Log: not supported by cvs2svn $
|
| - |
|
249 |
* Revision 1.5 2006/10/31 15:06:44 jp_milcent
|
| 235 |
*
|
250 |
* Fin de gestion des flux rss.
|
| 236 |
* $Log: not supported by cvs2svn $
|
251 |
*
|
| 237 |
* Revision 1.4 2006/10/31 10:31:36 jp_milcent
|
252 |
* Revision 1.4 2006/10/31 10:31:36 jp_milcent
|
| 238 |
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus.
|
253 |
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus.
|
| 239 |
*
|
254 |
*
|