]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1250264: Extensions have no easy way to override favicon.ico
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 22 Feb 2016 22:07:02 +0000 (23:07 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 22 Feb 2016 22:07:02 +0000 (23:07 +0100)
r=dkl

template/en/default/global/header.html.tmpl

index 6a52e7840425a97f366d3830a8bcc3a08f759456..fff74f454f81de99ba3bc48d25a0b5ca5ed175b2 100644 (file)
@@ -40,6 +40,7 @@
   jquery = []
   jquery_css = []
   generate_api_token = 0
+  favicon_url = "images/favicon.ico"
 %]
 
 [% IF NOT no_yui %]
     [%# Required for the 'Autodiscovery' feature in Firefox 2 and IE 7. %]
     <link rel="search" type="application/opensearchdescription+xml"
                        title="[% terms.Bugzilla %]" href="./search_plugin.cgi">
-    <link rel="shortcut icon" href="images/favicon.ico" >
+    <link rel="shortcut icon" href="[% favicon_url FILTER html %]">
     [% Hook.process("additional_header") %]
   </head>