1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 06:22:22 +00:00
plateforme-tfjm2/server_files/controllers/deconnexion.php
2019-09-06 13:48:50 +02:00

11 lines
200 B
PHP

<?php
require_once "../config.php";
unset($_SESSION["user_id"]);
session_destroy();
require_once "../views/header.php";
echo "<h2>Déconnexion réussie !</h2>";
require_once "../views/footer.php";