]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmarty.php
Replace current_theme() and current_theme_url() calls
[friendica.git] / src / Render / FriendicaSmarty.php
index ab19993081a293e972e95769861281a7e11a345d..8c8e637630dd1c37214dd2537d46a951cd805f27 100644 (file)
@@ -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