Initial commit: legacy WOPS PHP application
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
#Datenbank Verbindung einbinden
|
||||
require 'Connections/Connections.php';
|
||||
#Include datei für Loginüberprüfung
|
||||
include "Includes/Session.php";
|
||||
#LogOut Funktion zerstört die Session
|
||||
unset($_SESSION["UserID"]);
|
||||
session_destroy();
|
||||
print "<script type='text/javascript' langeuage='javascript'>
|
||||
alert('Du hast dich erfolgreich ausgeloggt!');
|
||||
window.location = 'index.php';</script>";
|
||||
?>
|
||||
Reference in New Issue
Block a user