Use a real .ico file as favicon.ico
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 3 Dec 2006 12:14:04 +0000 (12:14 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 3 Dec 2006 12:14:04 +0000 (12:14 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1229 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/images/favicon.ico [new file with mode: 0755]
modules/core.php

diff --git a/htdocs/images/favicon.ico b/htdocs/images/favicon.ico
new file mode 100755 (executable)
index 0000000..9f7e6bc
Binary files /dev/null and b/htdocs/images/favicon.ico differ
index b7def03..60d52c5 100644 (file)
@@ -53,8 +53,8 @@ class CoreModule extends PLModule
 
     function handler_favicon(&$page)
     {
-        $data = file_get_contents(dirname(__FILE__).'/../htdocs/images/favicon.png');
-        header('Content-Type: image/png');
+        $data = file_get_contents(dirname(__FILE__).'/../htdocs/images/favicon.ico');
+        header('Content-Type: image/x-icon');
         echo $data;
         exit;
     }