Subversion Repositories Applications.annuaire

Rev

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

Rev 72 Rev 73
Line 17... Line 17...
17
include_once('initialisation.php');
17
include_once('initialisation.php');
Line 18... Line 18...
18
 
18
 
19
$identification = Config::get('identification');
19
$identification = Config::get('identification');
Line 20... Line 20...
20
$annuaire_controleur = new AnnuaireControleur();
20
$annuaire_controleur = new AnnuaireControleur();
21
 
21
 
Line 22... Line 22...
22
$annuaire_controleur->chargerModele('AnnuaireModele');
22
//$annuaire_controleur->chargerModele('AnnuaireModele');
23
$id = $annuaire_controleur->AnnuaireModele->obtenirIdParMail('1',$identification);
23
//$id = $annuaire_controleur->AnnuaireModele->obtenirIdParMail('1',$identification);
24
 
24
 
25
//ajout des variables d'identification
25
//ajout des variables d'identification
Line 26... Line 26...
26
Registre::getInstance()->set('est_admin',true);
26
Registre::getInstance()->set('est_admin',true);
27
Registre::getInstance()->set('identification_id',$id);
27
//Registre::getInstance()->set('identification_id',$id);
Line 28... Line 28...
28
Registre::getInstance()->set('identification_mail',$identification);
28
//Registre::getInstance()->set('identification_mail',$identification);