X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ffriendica_smarty.php;h=9ba2d2a744dcc88fea320253dec337d54345fefd;hb=747dc934f73643933fb46a720dd0570069eaf36a;hp=99dc12bf8d9a27c96d6a2b79bed01e9939ad2aa0;hpb=4528529968d0ef291c7307c534e792e1bb0013ed;p=friendica.git diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php index 99dc12bf8d..9ba2d2a744 100644 --- a/include/friendica_smarty.php +++ b/include/friendica_smarty.php @@ -60,6 +60,8 @@ class FriendicaSmartyEngine implements ITemplateEngine { $template = $s; $s = new FriendicaSmarty(); } + + $r['$APP'] = get_app(); // "middleware": inject variables into templates $arr = array(