update
This commit is contained in:
3
src/server/cyberhex-code/logout.php
Normal file
3
src/server/cyberhex-code/logout.php
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
header("location:/system/insecure_zone/php/logout.php");
|
||||||
|
?>
|
||||||
12
src/server/cyberhex-code/system/insecure_zone/php/logout.php
Normal file
12
src/server/cyberhex-code/system/insecure_zone/php/logout.php
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
// Initialize the session
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
// Unset all of the session variables
|
||||||
|
$_SESSION = array();
|
||||||
|
|
||||||
|
// Destroy the session.
|
||||||
|
session_destroy();
|
||||||
|
header("location: /login.php");
|
||||||
|
exit;
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user