Add files via upload
This commit is contained in:
12
server/app-code/system/insecure_zone/php/logout.php
Normal file
12
server/app-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