8 lines
No EOL
162 B
PHP
8 lines
No EOL
162 B
PHP
<?php
|
|
require 'config/constants.php';
|
|
//destroy all sessions and redirect user to login page
|
|
session_destroy();
|
|
|
|
header('location: ' . ROOT_URL);
|
|
die();
|
|
?>
|