29 lines
509 B
PHP
29 lines
509 B
PHP
<?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");
|
|
?>
|