aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g/favicon.pngbin0 -> 1184 bytes
-rw-r--r--lib.php4
2 files changed, 3 insertions, 1 deletions
diff --git a/g/favicon.png b/g/favicon.png
new file mode 100644
index 0000000..5868d96
--- /dev/null
+++ b/g/favicon.png
Binary files differ
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);