X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ffriendica_smarty.php;h=9ba2d2a744dcc88fea320253dec337d54345fefd;hb=ac912eaadfe49cd9b9f8ac903d64685706dcb717;hp=99dc12bf8d9a27c96d6a2b79bed01e9939ad2aa0;hpb=0d6ec70a6841d8623d6dfdf93278a9d3b1f8eb2e;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(