добавлена поддержка is_object в шаблонах Smarty

This commit is contained in:
2026-04-09 19:37:29 +05:00
parent 55d3ff8bb8
commit 28a23fd308

View File

@@ -178,7 +178,11 @@
if (function_exists('html_entity_decode')) {
// Регистрируем как модификатор, если функция существует
$this->registerPlugin('modifier', 'html_entity_decode', 'html_entity_decode');
}
}
if (function_exists('is_object')) {
$this->registerPlugin('modifier', 'is_object', 'is_object');
}
// плагин позволяющий поставить метки шаблонов