Skip to content

Commit

Permalink
now go
Browse files Browse the repository at this point in the history
  • Loading branch information
ketertitus committed Mar 31, 2024
1 parent f127155 commit a1d4453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
setcookie("user_id", $me, time() + 7200, "/");
// Redirect to the home page
// header("Location: index.php");
// echo '<script>window.location.href = "index.php"</script>';
echo '<script>window.location.href = "index.php"</script>';
} catch (Exception $e) {
// Handle the error
echo "<script>alert('Error: " . $e->getMessage() . "');</script>";
Expand Down

0 comments on commit a1d4453

Please sign in to comment.