plateforme-tfjm2/server_files/controllers/deconnexion.php

9 lines
189 B
PHP
Raw Normal View History

2019-09-06 11:48:50 +00:00
<?php
unset($_SESSION["user_id"]);
session_destroy();
require_once "server_files/views/header.php";
2019-09-06 11:48:50 +00:00
echo "<h2>Déconnexion réussie !</h2>";
require_once "server_files/views/footer.php";