Added code to redirect user if they are signed in and go to the sign up page

php
Aadhavan Srinivasan 1 year ago
parent 7b0e1986e2
commit a0f1d0f5ac

@ -1,3 +1,10 @@
<?php
session_start();
if (isset($_SESSION['user'])) {
header("Location: https://glink.zip/");
exit();
}
?>
<!DOCTYPE html>
<html lang="en" class="h-full bg-white">
<head>

@ -1,3 +1,10 @@
<?php
session_start();
if (isset($_SESSION['user'])) {
header("Location: https://glink.zip/");
exit();
}
?>
<!DOCTYPE html>
<html lang="en" class="h-full bg-white">
<head>

Loading…
Cancel
Save