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