Support all extensions in link, too
[mailer.git] / inc / template-functions.php
index 1f891af2e18f5398d6b50ece9641bb028f11abea..4b6420a59f013706ed0e545a6329842f5762200a 100644 (file)
@@ -2353,7 +2353,7 @@ function doTemplateMetaFavIcon ($templateName, $clear = FALSE) {
                // Is the file there?
                if (isFileReadable(getPath() . 'favicon.' . $extension)) {
                        // Then use this and abort
                // Is the file there?
                if (isFileReadable(getPath() . 'favicon.' . $extension)) {
                        // Then use this and abort
-                       $out = '<link rel="shortcut icon" href="{%url=favicon.ico%}" type="image/' . $extension . '" />';
+                       $out = '<link rel="shortcut icon" href="{%url=favicon.' . $extension . '%}" type="image/' . $extension . '" />';
                        break;
                } // END - if
        } // END - while
                        break;
                } // END - if
        } // END - while