31 lines
455 B
PHP
31 lines
455 B
PHP
|
<?php
|
||
|
//
|
||
|
// OpenSMTPD Admin
|
||
|
// by Mischa Peters <mischa at high5 dot nl>
|
||
|
// Copyright (c) 2022 High5!
|
||
|
// License Info: LICENSE.TXT
|
||
|
//
|
||
|
// File: logout.php
|
||
|
//
|
||
|
// Template File: -none-
|
||
|
//
|
||
|
// Template Variables:
|
||
|
//
|
||
|
// -none-
|
||
|
//
|
||
|
// Form POST \ GET Variables:
|
||
|
//
|
||
|
// -none-
|
||
|
//
|
||
|
require("../config.inc.php");
|
||
|
require("../functions.inc.php");
|
||
|
|
||
|
$USERID_USERNAME = check_user_session();
|
||
|
|
||
|
session_unset();
|
||
|
session_destroy();
|
||
|
|
||
|
header("Location: login.php");
|
||
|
exit;
|
||
|
?>
|