13 lines
206 B
PHP
13 lines
206 B
PHP
<?php
|
|
// On appelle la session
|
|
session_start();
|
|
|
|
// On écrase le tableau de session
|
|
$_SESSION = array();
|
|
unset($_SESSION);
|
|
|
|
// On détruit la session
|
|
session_destroy();
|
|
|
|
@header("Location: ../index.php");
|
|
?>
|