X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=a3b6b7f6eabd0c68370fffff65a6e75501b2a2e2;hb=5068563cf5bc67ab6d6dcc406998fa8ffa651b82;hp=a1de5498e6ea68e3fd3d1c244a9c6929ff878ce2;hpb=685a677bc91c38dc2f59d3565d6c413bca84629d;p=friendica.git diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index a1de5498e6..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' -); -set_template_engine($a, '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) {