Initial version, with no update possibility
This commit is contained in:
8
logout.php
Normal file
8
logout.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
require 'config.php';
|
||||
include 'session.php';
|
||||
|
||||
session_destroy();
|
||||
header('Location: login.php');
|
||||
echo 'Logout successful. If you are not redirected back to the login page, <a href="login.php">click here</a>.';
|
||||
exit;
|
Reference in New Issue
Block a user