]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/light/theme.php
Merge pull request #1111 from tugelbend/master
[friendica.git] / view / theme / dispy / light / theme.php
index 806f30624d4147e26331236330aab35199ebfcb8..7365727c77fd48c741e6446e35ea2c5a74a9088b 100644 (file)
@@ -8,15 +8,14 @@
  * Screenshot: <a href="screenshot.jpg">Screenshot</a>
  */
 
-$a = get_app();
-$a->theme_info = array(
-    'family' => 'dispy',
-       'name' => 'light',
-);
-$a->theme['template_engine'] = 'smarty3';
-
 function dispy_light_init(&$a) {
 
+       $a->theme_info = array(
+               'family' => 'dispy',
+               'name' => 'light',
+       );
+       set_template_engine($a, 'smarty3');
+
     /** @purpose set some theme defaults
     */
     $cssFile = null;