repositories
/
Project_webapp.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Change the color scheme to be more IHM rules compliant.
[Project_webapp.git]
/
includes
/
logout.php
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
<?php
2
unset($_SESSION['email']);
3
unset($_SESSION['IP_address']);
4
session_destroy();
5
echo "You've been successfully logged out, you will be redirected to the home page in 2 seconds. <br>";
6
redirect("index.php", 2);
7
?>