10 lines
149 B
PHP
10 lines
149 B
PHP
<?php
|
|
if (session_status() === PHP_SESSION_NONE) {
|
|
session_start();
|
|
}
|
|
|
|
$_SESSION = [];
|
|
session_destroy();
|
|
|
|
header("Location: index.php");
|
|
exit(); |