mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Replace current_theme() and current_theme_url() calls
This commit is contained in:
parent
3213715b60
commit
fde3d6f870
9 changed files with 22 additions and 19 deletions
|
@ -152,7 +152,7 @@ class Profile
|
|||
|
||||
$a->set_template_engine(); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
|
||||
$theme_info_file = 'view/theme/' . current_theme() . '/theme.php';
|
||||
$theme_info_file = 'view/theme/' . $a->getCurrentTheme() . '/theme.php';
|
||||
if (file_exists($theme_info_file)) {
|
||||
require_once $theme_info_file;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue