mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:04:24 +02:00
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
|
@ -164,7 +164,7 @@ class Profile
|
|||
* load/reload current theme info
|
||||
*/
|
||||
|
||||
$a->setActiveTemplateEngine(); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
Renderer::setActiveTemplateEngine(); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
|
||||
$theme_info_file = 'view/theme/' . $a->getCurrentTheme() . '/theme.php';
|
||||
if (file_exists($theme_info_file)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue