mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-28 04:16:16 +00:00
File reordering in progress
This commit is contained in:
parent
b227baf239
commit
274707c80b
7 changed files with 79 additions and 58 deletions
14
app/account/logout.php
Normal file
14
app/account/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: ../../index.php");
|
||||
exit;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue