Browse Source

Merge branch 'trunk'

Andy 6 years ago
parent
commit
f27a4c69fc
2 changed files with 3 additions and 3 deletions
  1. 1 1
      config/config_local.example.php
  2. 2 2
      functions/page_header.php

+ 1 - 1
config/config_local.example.php

@@ -145,5 +145,5 @@
  * tag by default.  If you want to retain the default favicon
  * while using this setting, you must include the following
  * as part of this setting:
- * $head_tag_extra = '<link rel="shortcut icon" href="###SM BASEURI###favicon.ico">...<YOUR CONTENT HERE>...';
+ * $head_tag_extra = '<link rel="shortcut icon" href="###SM BASEURI###favicon.ico" />...<YOUR CONTENT HERE>...';
  */

+ 2 - 2
functions/page_header.php

@@ -91,9 +91,9 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
     // When not defined, a default is provided that displays the default favicon.ico.
     // If you override this and still want to use the default favicon.ico, you'll have to include the following
     // following in your $head_tag_extra string:
-    // $head_tag_extra = '<link rel="shortcut icon" href="###SM BASEURI###favicon.ico">...<YOUR CONTENT HERE>...';
+    // $head_tag_extra = '<link rel="shortcut icon" href="###SM BASEURI###favicon.ico" />...<YOUR CONTENT HERE>...';
     //
-    . (empty($head_tag_extra) ? '<link rel="shortcut icon" href="' . sqm_baseuri() . 'favicon.ico">'
+    . (empty($head_tag_extra) ? '<link rel="shortcut icon" href="' . sqm_baseuri() . 'favicon.ico" />'
     : str_replace('###SM BASEURI###', sqm_baseuri(), $head_tag_extra));
 
     $used_fontset = (!empty($chosen_fontset) ? $chosen_fontset : $default_fontset);