X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FRender%2FFriendicaSmarty.php;h=83b6322df2425e1a96a882467121163279e37539;hb=f0eea6f87590f10081f5bc61395bb7eca9e76ec5;hp=413d746dcfce3620eabc87ddb0af38b8e8eb1285;hpb=a939581cf8a07fe06f203582e0b3325076ea9703;p=friendica.git diff --git a/src/Render/FriendicaSmarty.php b/src/Render/FriendicaSmarty.php index 413d746dcf..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.