From 6c2e6d22ffb12bd8f65c7be1530981adb22be3f6 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Fri, 3 Dec 2021 14:00:10 +0300 Subject: [PATCH] add VERSION const --- inc/config.php | 5 +++++ inc/func.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index eb9ec4d..f76eab9 100644 --- a/inc/config.php +++ b/inc/config.php @@ -7,6 +7,11 @@ * Сайт: https://it-stories.ru */ +/** + * Версия панели + */ +define('VERSION', '1.0.2'); + /** * Корневая директория скрипта */ diff --git a/inc/func.php b/inc/func.php index 0fa748f..323e2e7 100644 --- a/inc/func.php +++ b/inc/func.php @@ -245,7 +245,7 @@ function getOS() {

'.$message.'


- С уважением, система IoT Core Board + С уважением, система IoT Core Board v.'.VERSION.'
http://'.$_SERVER['SERVER_NAME'].'

';