diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-08 21:53:36 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-08 21:53:36 +0500 |
| commit | 57472eab3c7b035392c6a5aa240593ecaa7d1ccf (patch) | |
| tree | 9da30829290f225be2dab3d383549cbfda82ed19 /public/account/signout.php | |
| parent | 6541d0f3888862ab049055fd418b700f73eed367 (diff) | |
upd: moved all /public/ files to the root folder
Diffstat (limited to 'public/account/signout.php')
| -rw-r--r-- | public/account/signout.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/public/account/signout.php b/public/account/signout.php deleted file mode 100644 index f971d4a..0000000 --- a/public/account/signout.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php -include_once $_SERVER["DOCUMENT_ROOT"] . '/../src/accounts.php'; -include_once $_SERVER["DOCUMENT_ROOT"] . '/../src/alert.php'; - -if (!isset($_GET["local"])) { - header("Location: /"); - exit; -} - -session_start(); - -setcookie("secret_key", "", time() - 1000, "/"); -session_unset(); -session_destroy(); - -generate_alert("/", "Signed out!", 200);
\ No newline at end of file |
