From c2f1067e5e9881e6cbed696738877d77b5bc4518 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Sun, 1 Dec 2024 07:04:33 -0500 Subject: [PATCH] logout --- docs/logout.php | 13 +++++++++++++ libs/page.php | 1 + 2 files changed, 14 insertions(+) create mode 100644 docs/logout.php diff --git a/docs/logout.php b/docs/logout.php new file mode 100644 index 0000000..6799692 --- /dev/null +++ b/docs/logout.php @@ -0,0 +1,13 @@ + $value ) + { + setcookie( $key, FALSE ); + } + header("Location: /"); + die(); + } + page_footer(); +?> \ No newline at end of file diff --git a/libs/page.php b/libs/page.php index c97975e..890ab3c 100644 --- a/libs/page.php +++ b/libs/page.php @@ -17,6 +17,7 @@ + Logout Login