Added code to redirect user if they are signed in and go to the sign up page
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if (isset($_SESSION['user'])) {
|
||||||
|
header("Location: https://glink.zip/");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" class="h-full bg-white">
|
<html lang="en" class="h-full bg-white">
|
||||||
<head>
|
<head>
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if (isset($_SESSION['user'])) {
|
||||||
|
header("Location: https://glink.zip/");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" class="h-full bg-white">
|
<html lang="en" class="h-full bg-white">
|
||||||
<head>
|
<head>
|
||||||
|
Reference in New Issue
Block a user