diff --git a/public_html/login_intranet.php b/public_html/login_intranet.php
index f342a76..e4168ef 100644
--- a/public_html/login_intranet.php
+++ b/public_html/login_intranet.php
@@ -1,7 +1,7 @@
@@ -13,6 +13,9 @@ 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");