12 lines
264 B
PHP
Executable File
12 lines
264 B
PHP
Executable File
<?php
|
|
session_start();
|
|
if(count($_SESSION)==2 and isset($_SESSION['id_joueur']) and isset($_SESSION['id_club'])) {
|
|
unset($_SESSION['id_joueur']);
|
|
unset($_SESSION['id_club']);
|
|
session_destroy();
|
|
}
|
|
else {
|
|
echo "acces impossible";
|
|
}
|
|
include("index_port.php");
|
|
?>
|