update to use single html with dynamic div

This commit is contained in:
2025-04-16 09:31:36 +02:00
parent 0dcdfa7e76
commit 1d3febeec1
21 changed files with 794 additions and 179 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
session_start();
session_destroy();
setcookie('loggedIn', '', time() - 3600, '/'); // Clear the cookie
echo json_encode(['success' => true, 'message' => 'Logged out successfully.']);
exit();
?>