104,11 → 104,11 |
} |
|
function utilisateurEstIdentifieSession() { |
return (isset($_SESSION["del_user"]) && isset($_SESSION["del_user"]["courriel"])) ? $_SESSION["del_user"]["courriel"] : false; |
return (isset($_SESSION["del_courriel"]) && isset($_SESSION["del_courriel"])) ? $_SESSION["del_courriel"] : false; |
} |
|
function utilisateurEstIdentifieCookie() { |
return isset($_COOKIE["del_name"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false; |
return isset($_COOKIE["del_courriel"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false; |
} |
} |
?> |