fix for Smarty 5

This commit is contained in:
2025-11-14 13:34:19 +05:00
parent 1e9f764a20
commit d00cab0072

View File

@@ -81,6 +81,8 @@
$lang_file = BASE_DIR . '/modules/forms/lang/' . $_SESSION['admin_language'] . '.txt';
$AVE_Template->config_load($lang_file, 'module');
$response = '';
// создаём переменные с версией движка
$ave14 = ((float)str_replace(',', '.', APP_VERSION) < 1.5);
$AVE_Template->assign('ave14', $ave14);