aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2014-02-02 23:19:20 +0000
committerManuel Hiebel <leuhmanu@mageia.org>2014-02-02 23:19:20 +0000
commitbef81149e1bf796424d89edbb853fcda5d14052d (patch)
treebd6843907f824429967df4fe5f7925cb578d295a /lib.php
parentb681515186a3babebc4aed70588cda14646aa2dc (diff)
downloadnav-bef81149e1bf796424d89edbb853fcda5d14052d.tar
nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.gz
nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.bz2
nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.xz
nav-bef81149e1bf796424d89edbb853fcda5d14052d.zip
add favicon on nav.mageia.org
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib.php b/lib.php
index 4b573d5..e603380 100644
--- a/lib.php
+++ b/lib.php
@@ -265,7 +265,9 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www.
$h = sprintf('<!--googleoff: all--><nav id="mgnav"><ul id="nav">%s</ul></nav><!--googleon: all-->', $s);
if ($wrap)
- $h = sprintf('<header id="hmgn">%s</header>', $h);
+ $h = sprintf('<header id="hmgn">%s
+<link rel="icon" type="image/png" href="/g/favicon.png" />
+</header>', $h);
if (!is_null($cache))
$cache->set($key, $h);