Skip to content

Commit

Permalink
Use config_get_global to access favicon_image
Browse files Browse the repository at this point in the history
Issue #27884
  • Loading branch information
atrol committed Jan 30, 2021
1 parent a65d14b commit 4c6cb6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browser_search_plugin.php
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions core/layout_api.php
Expand Up @@ -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", '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '" type="image/x-icon" />', "\n";
}
Expand Down Expand Up @@ -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", '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '" type="image/x-icon" />', "\n";
}
Expand Down

0 comments on commit 4c6cb6d

Please sign in to comment.