plateforme-tfjm2/server_files/controllers/deconnexion.php

11 lines
200 B
PHP
Raw Normal View History

2019-09-06 11:48:50 +00:00
<?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";