mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
Fix template_var hook
move it to smarty3 replate_macro, pass the theme name in $b
This commit is contained in:
parent
545a7a80e4
commit
0aa69f134f
3 changed files with 21 additions and 11 deletions
|
@ -19,10 +19,6 @@ function replace_macros($s,$r) {
|
|||
|
||||
$stamp1 = microtime(true);
|
||||
|
||||
// "middleware": inject variables into templates
|
||||
call_hooks("template_vars", $r);
|
||||
|
||||
|
||||
$a = get_app();
|
||||
|
||||
$t = $a->template_engine();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue