| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,17 @@ |
| 1 |
+<?php |
|
| 2 |
+/** |
|
| 3 |
+ * Copyright (C) 2022, 2024 Double Bastion LLC |
|
| 4 |
+ * |
|
| 5 |
+ * This file is part of Roundpin, which is licensed under the |
|
| 6 |
+ * GNU Affero General Public License Version 3.0. The license terms |
|
| 7 |
+ * are detailed in the "LICENSE.txt" file located in the root directory. |
|
| 8 |
+ */ |
|
| 9 |
+ |
|
| 10 |
+ session_start(); |
|
| 11 |
+ session_unset(); |
|
| 12 |
+ setcookie ("PHPSESSID", "", time() - 3600, '/');
|
|
| 13 |
+ session_destroy(); |
|
| 14 |
+ header("Location: ../login.php");
|
|
| 15 |
+ exit(); |
|
| 16 |
+ |
|
| 17 |
+?> |