diff --git a/index.php b/index.php index 5b2daacadf04987aabe521711a1a5942b3ac0660..9e6fe095cb74d1521820a4495b4e08d302c15175 100644 --- a/index.php +++ b/index.php @@ -12,6 +12,7 @@ /** * Register smarty functions */ + if (method_exists($Engine, 'getSmarty')) { $Engine->getSmarty()->registerClass('TemplateCologneUtils', 'QUI\TemplateCologne\Utils'); }