X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Ffrio_boot.php;h=3f8ed1ed0b0e87a857aff5e56c84781768d8bbff;hb=e88781164a2e60c439c755d96a639ef2093a7305;hp=243ea5c72c4aeb46b1dd9c11e53fb9b50e5fb533;hpb=3213715b6001cb01cb158b191c8fad38db715619;p=friendica.git diff --git a/view/theme/frio/php/frio_boot.php b/view/theme/frio/php/frio_boot.php index 243ea5c72c..3f8ed1ed0b 100644 --- a/view/theme/frio/php/frio_boot.php +++ b/view/theme/frio/php/frio_boot.php @@ -21,12 +21,12 @@ function load_page(App $a) } elseif ((isset($_GET['mode']) && ($_GET['mode'] == 'none'))) { require 'view/theme/frio/none.php'; } else { - $template = 'view/theme/' . current_theme() . '/' + $template = 'view/theme/' . $a->getCurrentTheme() . '/' . ((x($a->page, 'template')) ? $a->page['template'] : 'default' ) . '.php'; if (file_exists($template)) { require_once $template; } else { - require_once str_replace('theme/' . current_theme() . '/', '', $template); + require_once str_replace('theme/' . $a->getCurrentTheme() . '/', '', $template); } } }