Files
webprogrammierung/php/controller/logout-controller.php
T

6 lines
86 B
PHP

<?php
$_SESSION = [];
session_destroy();
header("Location: ../../index.php");
exit();