Subversion Repositories Sites.tela-botanica.org

Rev

Rev 369 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 369 Rev 371
Line 36... Line 36...
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
set_include_path(get_include_path().PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']);
41
// Le fichier authentification.php est appelé systématiquement, il peut donc contenir les inclusions de fichiers génériques.
42
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config_avancee.inc.php' ;
42
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config_avancee.inc.php' ;
-
 
43
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config.inc.php' ;
-
 
44
// ATTENTION : bien inclure la racine du site /home/telabotap/www/ et le chemin de l'api PEAR /home/telabotap/www/api/pear/ dans l'include path.
-
 
45
// ATTENTION : l'ancien include_path ajouté grace à get_include_path() doit être impérativement ajouté APRÉS le chemin de l'api Pear de Papyrus!
43
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config.inc.php' ;
46
set_include_path($_SERVER['DOCUMENT_ROOT'].PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.PAP_CHEMIN_API_PEAR.PATH_SEPARATOR.get_include_path());
44
include_once '../'.PAP_CHEMIN_API_PEAR.'Auth.php' ;
47
include_once 'Auth.php' ;
45
include_once '../'.PAP_CHEMIN_API_PEAR.'DB.php' ;
48
include_once 'DB.php' ;
Line 46... Line 49...
46
include_once 'Net/URL.php' ;
49
include_once 'Net/URL.php' ;
47
 
50
 
48
$NetUrl = new Net_URL();
51
$NetUrl = new Net_URL();