Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 370 → Rev 371

/trunk/actu/authentification.php
38,11 → 38,14
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
set_include_path(get_include_path().PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']);
// Le fichier authentification.php est appelé systématiquement, il peut donc contenir les inclusions de fichiers génériques.
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config_avancee.inc.php' ;
include_once dirname(realpath(__FILE__)).'/../papyrus/configuration/pap_config.inc.php' ;
include_once '../'.PAP_CHEMIN_API_PEAR.'Auth.php' ;
include_once '../'.PAP_CHEMIN_API_PEAR.'DB.php' ;
// 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.
// 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!
set_include_path($_SERVER['DOCUMENT_ROOT'].PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.PAP_CHEMIN_API_PEAR.PATH_SEPARATOR.get_include_path());
include_once 'Auth.php' ;
include_once 'DB.php' ;
include_once 'Net/URL.php' ;
 
$NetUrl = new Net_URL();