*/
namespace Friendica\Render;
+use Friendica\DI;
use Smarty;
use Friendica\Core\Renderer;
{
parent::__construct();
- $a = \get_app();
+ $a = DI::app();
$theme = $a->getCurrentTheme();
// setTemplateDir can be set to an array, which Smarty will parse in order.