MOON
Server: Apache
System: Linux smtp.modiva.org 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
User: rtbrisc (1005)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/rtbrisc/public_html/admin/index.php
<?php
session_start();

// header("Location: main/dashboard");

 $user = $_SESSION['user'];

//header("Location: main/dashboard");

if(empty($user)){
 header("Location: account/login.php");
}else{
 header("Location: main/dashboard");
}

?>