]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/light/theme.php
Merge pull request #604 from fermionic/20130204-db-debugging-in-mod-display
[friendica.git] / view / theme / dispy / light / theme.php
index 94a699b703f072d238c95e57a538eefbc6c581cf..7365727c77fd48c741e6446e35ea2c5a74a9088b 100644 (file)
@@ -8,14 +8,14 @@
  * Screenshot: <a href="screenshot.jpg">Screenshot</a>
  */
 
-$a = get_app();
-$a->theme_info = array(
-    'family' => 'dispy',
-       'name' => 'light',
-);
-
 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;