X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=a3b6b7f6eabd0c68370fffff65a6e75501b2a2e2;hb=5068563cf5bc67ab6d6dcc406998fa8ffa651b82;hp=71e4e62e19a14d93dfa0ffcf8cc8e861f866f829;hpb=a29842e3019255efd3f91fc01df29f5837d54fa4;p=friendica.git diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 71e4e62e19..a3b6b7f6ea 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -17,15 +17,14 @@ * or rename to prefix1_function_name (prefix2_function_name), etc. */ -$a = get_app(); -$a->theme_info = array( - 'family' => 'dispy', - 'version' => '1.2.2' -); -$a->theme['template_engine'] = 'smarty3'; - function dispy_init(&$a) { + $a->theme_info = array( + 'family' => 'dispy', + 'version' => '1.2.2' + ); + set_template_engine($a, 'smarty3'); + /** @purpose set some theme defaults */ $cssFile = null; @@ -53,7 +52,7 @@ function dispy_init(&$a) {