diff --git a/view/theme/dispy/dark/theme.php b/view/theme/dispy/dark/theme.php index bae9db41ee..21d27f75ee 100644 --- a/view/theme/dispy/dark/theme.php +++ b/view/theme/dispy/dark/theme.php @@ -13,7 +13,7 @@ $a->theme_info = array( 'family' => 'dispy', 'name' => 'dark', ); -$a->theme['template_engine'] = 'smarty3'; +set_template_engine($a, 'smarty3'); function dispy_dark_init(&$a) { /** @purpose set some theme defaults diff --git a/view/theme/dispy/light/theme.php b/view/theme/dispy/light/theme.php index 806f30624d..f8753ec1aa 100644 --- a/view/theme/dispy/light/theme.php +++ b/view/theme/dispy/light/theme.php @@ -13,7 +13,7 @@ $a->theme_info = array( 'family' => 'dispy', 'name' => 'light', ); -$a->theme['template_engine'] = 'smarty3'; +set_template_engine($a, 'smarty3'); function dispy_light_init(&$a) {