From 4c6cb6df50446709cc9ae8f7dde70ec410de7188 Mon Sep 17 00:00:00 2001 From: Roland Becker Date: Sun, 17 Jan 2021 13:58:54 +0100 Subject: [PATCH] Use config_get_global to access favicon_image Issue #27884 --- browser_search_plugin.php | 2 +- core/layout_api.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser_search_plugin.php b/browser_search_plugin.php index 77a16a0fbf..34095d6725 100644 --- a/browser_search_plugin.php +++ b/browser_search_plugin.php @@ -38,7 +38,7 @@ $t_path = config_get_global( 'path' ); $t_title = config_get( 'search_title' ); -$t_icon = $t_path . config_get( 'favicon_image' ); +$t_icon = $t_path . config_get_global( 'favicon_image' ); $t_searchform = $t_path . 'view_all_bug_page.php'; # Localized ShortName and Description elements diff --git a/core/layout_api.php b/core/layout_api.php index 27e560c744..fcb01580cb 100644 --- a/core/layout_api.php +++ b/core/layout_api.php @@ -82,7 +82,7 @@ function layout_page_header_begin( $p_page_title = null ) { layout_head_css(); html_rss_link(); - $t_favicon_image = config_get( 'favicon_image' ); + $t_favicon_image = config_get_global( 'favicon_image' ); if( !is_blank( $t_favicon_image ) ) { echo "\t", '', "\n"; } @@ -357,7 +357,7 @@ function layout_login_page_begin() { layout_head_css(); html_rss_link(); - $t_favicon_image = config_get( 'favicon_image' ); + $t_favicon_image = config_get_global( 'favicon_image' ); if( !is_blank( $t_favicon_image ) ) { echo "\t", '', "\n"; }