добавлена поддержка is_object в шаблонах Smarty
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
// плагин позволяющий поставить метки шаблонов
|
||||
|
||||
Reference in New Issue
Block a user