fixing the old project errors

This commit is contained in:
Anas Rashid committed 2026-04-29 00:42:13 +02:00
1 parent 34753111ed
commit 4ff0c03c62
23 files changed
+117 -278

No files matched your search

+5 -2
View File
@@ -1,7 +1,10 @@
<?php
session_start();
if(isset($_POST['signout']))
{
$_SESSION["user"] = "";
header("Location: ../views/signinPage.php");
session_unset();
session_destroy();
header("Location: ../views/signinPage.php");
exit();
}
?>