1
0
Fork 0

Remove duplicate $baseurl template variable

- Remove unused $overwriteURL parameter in Renderer::replaceMacros
This commit is contained in:
Hypolite Petovan 2019-04-27 22:18:30 -04:00
commit 9774c95b80
41 changed files with 38 additions and 101 deletions

View file

@ -154,15 +154,11 @@ function poke_content(App $a)
$name = $contact['name'];
$id = $contact['id'];
$base = System::baseUrl();
$head_tpl = Renderer::getMarkupTemplate('poke_head.tpl');
$a->page['htmlhead'] .= Renderer::replaceMacros($head_tpl,[
'$baseurl' => System::baseUrl(true),
'$base' => $base
]);
$parent = (!empty($_GET['parent']) ? intval($_GET['parent']) : '0');