Replace current_theme() and current_theme_url() calls

This commit is contained in:
Hypolite Petovan 2018-04-28 18:37:04 -04:00
parent 3213715b60
commit fde3d6f870
9 changed files with 22 additions and 19 deletions

View file

@ -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;
}