mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-31 15:53:12 +00:00
Fixing security issues
This commit is contained in:
parent
87dc4d5ff0
commit
a9ba8669a6
9 changed files with 173 additions and 92 deletions
14
logout.php
Normal file
14
logout.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
// Initialize the session
|
||||
session_start();
|
||||
|
||||
// Unset all of the session variables
|
||||
$_SESSION = array();
|
||||
|
||||
// Destroy the session.
|
||||
session_destroy();
|
||||
|
||||
// Redirect to login page
|
||||
header("location: https://superdupersecteteuploadtest.fluffybean.gay");
|
||||
exit;
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue