first commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
// php/logout.php
|
||||
if (session_status() === PHP_SESSION_NONE) { session_start(); }
|
||||
session_destroy();
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode(['success' => true]);
|
||||
?>
|
||||
Reference in New Issue
Block a user