X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FRender%2FFriendicaSmarty.php;h=83b6322df2425e1a96a882467121163279e37539;hb=f0eea6f87590f10081f5bc61395bb7eca9e76ec5;hp=deabd3baf2c0e0a8c6f5bba0dcfe0b66f0364887;hpb=8db4af3d001cd105d0d769f03395138945209e77;p=friendica.git diff --git a/src/Render/FriendicaSmarty.php b/src/Render/FriendicaSmarty.php index deabd3baf2..83b6322df2 100644 --- a/src/Render/FriendicaSmarty.php +++ b/src/Render/FriendicaSmarty.php @@ -4,6 +4,7 @@ */ namespace Friendica\Render; +use Friendica\DI; use Smarty; use Friendica\Core\Renderer; @@ -22,7 +23,7 @@ class FriendicaSmarty extends Smarty { parent::__construct(); - $a = \get_app(); + $a = DI::app(); $theme = $a->getCurrentTheme(); // setTemplateDir can be set to an array, which Smarty will parse in order.