mirror of
https://github.com/friendica/friendica
synced 2025-05-21 03:04:12 +02:00
Getter/Setter for theme info
This commit is contained in:
parent
c52b8595e8
commit
5a87ccf026
13 changed files with 57 additions and 28 deletions
|
@ -166,7 +166,7 @@ class Renderer
|
|||
} else {
|
||||
$a = DI::app();
|
||||
$class = self::$template_engines[$template_engine];
|
||||
$obj = new $class($a->getCurrentTheme(), $a->theme_info);
|
||||
$obj = new $class($a->getCurrentTheme(), $a->getThemeInfo());
|
||||
self::$template_engine_instance[$template_engine] = $obj;
|
||||
return $obj;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue