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