Template Engine and props to Renderer
move methods and props from App to Renderer
This commit is contained in:
parent
3f74ba88c2
commit
70f01d6c00
9 changed files with 108 additions and 103 deletions
|
|
@ -26,7 +26,7 @@ function vier_init(App $a)
|
|||
{
|
||||
$a->theme_events_in_profile = false;
|
||||
|
||||
$a->setActiveTemplateEngine('smarty3');
|
||||
Renderer::setActiveTemplateEngine('smarty3');
|
||||
|
||||
if (!empty($a->argv[0]) && $a->argv[0] . defaults($a->argv, 1, '') === "profile".$a->user['nickname'] || $a->argv[0] === "network" && local_user()) {
|
||||
vier_community_info();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue