File reordering in progress

This commit is contained in:
Michał Gdula 2022-09-07 09:41:18 +00:00
parent b227baf239
commit 274707c80b
7 changed files with 79 additions and 58 deletions

14
app/account/logout.php Normal file
View file

@ -0,0 +1,14 @@
<?php
// Initialize the session
session_start();
// Unset all of the session variables
$_SESSION = array();
// Destroy the session.
session_destroy();
// Redirect to login page
header("location: ../../index.php");
exit;