parent
c323ac2b8f
commit
a97777385c
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$destination = isset($_GET['destination']) ? $_GET['destination'] : '';
|
$destination = isset($_GET['destination']) ? $_GET['destination'] : '';
|
||||||
$mode = isset($_GET['mode']) ? $_GET['mode'] : '';
|
$mode = isset($_GET['mode']) ? $_GET['mode'] : '';
|
||||||
$appVersion = 'v1.1.10';
|
//$appVersion = 'v1.1.10';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
|
|
@ -13,6 +13,9 @@ include getenv("DOCUMENT_ROOT")."/include/session_include.php";
|
||||||
require_once getenv("DOCUMENT_ROOT")."/lib/MobileDetect.php";
|
require_once getenv("DOCUMENT_ROOT")."/lib/MobileDetect.php";
|
||||||
$detect = $detect = new \Detection\MobileDetect;
|
$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) {
|
if ($_SESSION['ss_LOGIN'] == 1) {
|
||||||
$msg = "You are already logged in. Please proceed to the main page.";
|
$msg = "You are already logged in. Please proceed to the main page.";
|
||||||
$func -> modalMsg ($msg, "/index_intranet.php");
|
$func -> modalMsg ($msg, "/index_intranet.php");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue