1. Import
This commit is contained in:
28
html/admin/logout.php
Normal file
28
html/admin/logout.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*=======================================================================
|
||||
*
|
||||
* logout.php
|
||||
*
|
||||
* Autor: Carsten Annacker, Marc Vollmann
|
||||
*
|
||||
=======================================================================*/
|
||||
|
||||
|
||||
include_once ("../include/global.inc.php");
|
||||
include_once ("../include/auth.inc.php");
|
||||
include_once ("../include/inc_user.inc.php");
|
||||
|
||||
|
||||
// Reset user states
|
||||
resetUserStates();
|
||||
|
||||
|
||||
session_start();
|
||||
|
||||
session_unset();
|
||||
|
||||
session_destroy();
|
||||
|
||||
// Referer
|
||||
header("Location: ../admin/start.php");
|
||||
?>
|
||||
Reference in New Issue
Block a user