diff options
| author | Mateja <mail@matejamaric.com> | 2020-09-28 19:14:53 +0200 |
|---|---|---|
| committer | Mateja <mail@matejamaric.com> | 2020-09-28 19:14:53 +0200 |
| commit | 00fda2f0dfdaa1129949f0fa116cfaeff23ab486 (patch) | |
| tree | 7ff6596f038c84771484da6c8150ce441aad89c6 /logout.php | |
| download | old-php-yota-00fda2f0dfdaa1129949f0fa116cfaeff23ab486.tar.gz old-php-yota-00fda2f0dfdaa1129949f0fa116cfaeff23ab486.zip | |
first commit
Diffstat (limited to 'logout.php')
| -rw-r--r-- | logout.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..be295fd --- /dev/null +++ b/logout.php @@ -0,0 +1,7 @@ +<?php +session_start(); + +session_unset(); +session_destroy(); +header('Location: admin.php'); +?> |
