// $visitorReactions — string[] (types déjà cliqués par ce visiteur) // $comments — array de commentaires publiés // $commentFlash — bool|null (commentaire soumis, email envoyé) // $commentVerified — bool|null (commentaire vérifié et publié) // $commentError — string|null (message d'erreur) $_reactionDefs = [ 'useful' => ['👍', 'Utile'], 'important' => ['🔥', 'Important'], 'interesting' => ['🤔', 'À creuser'], ]; $_csrfToken = bin2hex(random_bytes(16)); setcookie('_csrf_c', $_csrfToken, [ 'expires' => 0, 'path' => '/', 'secure' => !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off', 'httponly' => true, 'samesite' => 'Strict', ]); ?>
Commentaires = count($comments) ?>
Aucun commentaire pour l'instant. Soyez le premier !
Laisser un commentaire