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