Ticket #1491: mythweb-favicon.patch

File mythweb-favicon.patch, 1.8 KB (added by sphery <mtdean@…>, 20 years ago)
  • mythweb/themes/default/header.php

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: mythweb/themes/default/img/favicon.ico
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
     
    3434    <link rel="stylesheet" type="text/css" href="<?php echo skin_url ?>/header.css" />
    3535    <link rel="stylesheet" type="text/css" href="<?php echo skin_url ?>/menus.css" />
    3636    <link rel="stylesheet" type="text/css" href="<?php echo skin_url ?>/programming.css" />
    37 
     37    <link rel="icon" type="image/x-icon" href="<?php echo theme_url ?>img/favicon.ico" />
     38    <link rel="shortcut icon" type="image/x-icon" href="<?php echo theme_url ?>img/favicon.ico" />
    3839<?php
    3940    if (!empty($headers) && is_array($headers))
    4041        echo '    ', implode("\n    ", $headers), "\n";
  • mythweb/.htaccess

     
    2828# those are, so we should tell it.
    2929    AddType video/nuppelvideo .nuv
    3030
     31# Specify the MIME type for favicon.ico in case the server configuration
     32# doesn't or in case the server configuration uses the IANA-approved MIME type
     33# (image/vnd.microsoft.icon)--which most browsers won't recognize.
     34    AddType image/x-icon .ico
     35
    3136# Some special instructions for the PHP files of MythWeb.
    3237    <FilesMatch "\.php$">
    3338