]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmarty.php
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
[friendica.git] / src / Render / FriendicaSmarty.php
index ab19993081a293e972e95769861281a7e11a345d..f4c6a8ed27623372428db861cf8a35634c3b51c0 100644 (file)
@@ -9,7 +9,7 @@ use Smarty;
 /**
  * Friendica extension of the Smarty3 template engine
  *
- * @author Hypolite Petovan <mrpetovan@gmail.com>
+ * @author Hypolite Petovan <hypolite@mrpetovan.com>
  */
 class FriendicaSmarty extends Smarty
 {
@@ -22,7 +22,7 @@ class FriendicaSmarty extends Smarty
                parent::__construct();
 
                $a = get_app();
-               $theme = current_theme();
+               $theme = $a->getCurrentTheme();
 
                // setTemplateDir can be set to an array, which Smarty will parse in order.
                // The order is thus very important here