]> 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:09:20 +0000 (23:09 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 22 Feb 2016 22:09:20 +0000 (23:09 +0100)
r/a=dkl

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

index 4d226fd737bcecf014f2cde598186cba952079a8..bd40fff88eb86bad221d520c779d161c62771780 100644 (file)
@@ -35,6 +35,7 @@
   javascript_urls = []
   yui = []
   generate_api_token = 0
+  favicon_url = "images/favicon.ico"
 %]
 
 [% SET yui_css = {
     [%# 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>