diff options
Diffstat (limited to 'admin/logout.php')
-rw-r--r-- | admin/logout.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/logout.php b/admin/logout.php new file mode 100644 index 0000000..639e045 --- /dev/null +++ b/admin/logout.php | |||
@@ -0,0 +1,7 @@ | |||
1 | <?php | ||
2 | |||
3 | unset($_SESSION['username']); | ||
4 | |||
5 | header('Location: /'); | ||
6 | |||
7 | ?> | ||