X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=a3b6b7f6eabd0c68370fffff65a6e75501b2a2e2;hb=985d771b1381be713931b78367c784186aa3dc8f;hp=2d423a9280ec5e28547270375d4eb45841da4867;hpb=10a057b97959d5915c9eab1947bea7b039d3218b;p=friendica.git diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 2d423a9280..a3b6b7f6ea 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -17,14 +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' -); - 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; @@ -52,7 +52,7 @@ function dispy_init(&$a) {