ob_start(); include getenv("DOCUMENT_ROOT")."/include/session_include.php"; require_once getenv("DOCUMENT_ROOT")."/lib/MobileDetect.php"; $detect = $detect = new \Detection\MobileDetect; if ($_SESSION['ss_LOGIN'] == 1) { $msg = "You are already logged in. Please proceed to the main page."; $func -> modalMsg ($msg, "/index_intranet.php"); exit; } ?>