You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
325 B
PHP
21 lines
325 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: REMI
|
|
* Date: 19/04/2019
|
|
* Time: 10:10
|
|
*/
|
|
|
|
require 'connectionBD.php';
|
|
$db = connexionBD();
|
|
init();
|
|
|
|
function init(){
|
|
session_start();
|
|
if (isset($_SESSION['mail'])){
|
|
session_unset();
|
|
session_destroy();
|
|
}
|
|
header('Location: index.php');
|
|
exit();
|
|
} |