Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1588 Rev 1612
Line 533... Line 533...
533
				&& ($utilisateur = $this->chargerUtilisateur($_COOKIE['coel_login'], $_COOKIE['coel_mot_de_passe']))) {
533
				&& ($utilisateur = $this->chargerUtilisateur($_COOKIE['coel_login'], $_COOKIE['coel_mot_de_passe']))) {
534
			$this->setUtilisateur($utilisateur, $_COOKIE['coel_permanence']);
534
			$this->setUtilisateur($utilisateur, $_COOKIE['coel_permanence']);
535
		}
535
		}
536
	}
536
	}
Line -... Line 537...
-
 
537
	
-
 
538
	protected function rechargerCookieUtilisateur() {
-
 
539
		$utilisateur = $this->chargerUtilisateur($_COOKIE['coel_login']);
-
 
540
		$this->setUtilisateur($utilisateur, $_COOKIE['coel_permanence']);
-
 
541
	}
537
	
542
	
538
	protected function getUtilisateur() {
543
	protected function getUtilisateur() {
539
		return (isset($_SESSION['coel_utilisateur']) ? $_SESSION['coel_utilisateur'] : '');
544
		return (isset($_SESSION['coel_utilisateur']) ? $_SESSION['coel_utilisateur'] : '');
Line 540... Line 545...
540
	}
545
	}