Files
D1041231091-WebGIS-All/05/logout.php
T

8 lines
141 B
PHP

<?php
if (session_status() === PHP_SESSION_NONE) session_start();
$_SESSION = [];
session_destroy();
header('Location: login.php');
exit;
?>