- [LOGIN] Version 정보를 DB 에서 가져오도록 수정.
This commit is contained in:
Hyojin Ahn 2026-04-16 16:22:21 -04:00
parent c323ac2b8f
commit a97777385c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php
$destination = isset($_GET['destination']) ? $_GET['destination'] : '';
$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";
$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");