BlackLotus/panel/logout.php

12 lines
316 B
PHP
Raw Permalink Normal View History

2023-07-12 16:43:04 -07:00
<?php
require_once('inc/common.php');
$_SESSION = array();
$session = session_get_cookie_params();
setcookie(session_name(), '', time() - 4200, $session["path"], $session["domain"], $session["secure"], $session["httponly"]);
session_destroy();
header('Location: login.php');
?>