X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FRender%2FFriendicaSmarty.php;h=f4c6a8ed27623372428db861cf8a35634c3b51c0;hb=c083ae047c4259dcfa1c61a3795679bbf1b08d8c;hp=ab19993081a293e972e95769861281a7e11a345d;hpb=25fbdd21c5a4bbf38c52f9275c126e9ef687b61d;p=friendica.git diff --git a/src/Render/FriendicaSmarty.php b/src/Render/FriendicaSmarty.php index ab19993081..f4c6a8ed27 100644 --- a/src/Render/FriendicaSmarty.php +++ b/src/Render/FriendicaSmarty.php @@ -9,7 +9,7 @@ use Smarty; /** * Friendica extension of the Smarty3 template engine * - * @author Hypolite Petovan + * @author Hypolite Petovan */ 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