Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1172 Rev 1252
Line 102... Line 102...
102
	
102
	
103
		return $login_utilisateur;
103
		return $login_utilisateur;
Line 104... Line 104...
104
	}
104
	}
105
	
105
	
106
	function utilisateurEstIdentifieSession() {
106
	function utilisateurEstIdentifieSession() {
Line 107... Line 107...
107
		return (isset($_SESSION["del_user"]) && isset($_SESSION["del_user"]["courriel"])) ? $_SESSION["del_user"]["courriel"] : false;
107
		return (isset($_SESSION["del_courriel"]) && isset($_SESSION["del_courriel"])) ? $_SESSION["del_courriel"] : false;
108
	}
108
	}
109
	
109
	
110
	function utilisateurEstIdentifieCookie() {
110
	function utilisateurEstIdentifieCookie() {
111
		return isset($_COOKIE["del_name"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false;
111
		return isset($_COOKIE["del_courriel"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false;
112
	}
112
	}