mirror of
https://github.com/JannikKoester/Tischverwaltung.git
synced 2026-01-09 14:20:08 +01:00
neues Design
This commit is contained in:
12
logout.php
Normal file
12
logout.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
require 'settings.php';
|
||||
session_start();
|
||||
|
||||
if(isset($_POST['logoutBtn'])){
|
||||
session_destroy();
|
||||
header("location:index.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
header("location:index.php");
|
||||
}
|
||||
Reference in New Issue
Block a user