| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | require __DIR__ . '/lib/bootstrap.php'; |
| 4 | logoutUser(); |
| 5 | if (isset($_GET['json'])) { |
| 6 | header('Content-Type: application/json; charset=utf-8'); |
| 7 | echo json_encode(['ok' => true]); |
| 8 | exit; |
| 9 | } |
| 10 | header('Location: index.html'); |
projects-timfalken-com allianties