Skip to content

Commit

Permalink
Replace favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Mar 14, 2024
1 parent ed0c0ba commit 73eca4e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed favicon.ico
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion system/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3423,7 +3423,7 @@ function head_contents()
$version = 'HTMLy ' . constant('HTMLY_VERSION');
$favicon = config('favicon.image');
if (empty($favicon)) {
$favicon = '<link rel="icon" type="image/x-icon" href="' . site_url() . 'favicon.ico" />' . "\n";
$favicon = '<link rel="icon" type="image/png" href="' . site_url() . 'favicon.png" />' . "\n";
} else {
$favicon = '<link rel="icon" type="image/'. pathinfo($favicon, PATHINFO_EXTENSION) .'" href="' . $favicon . '" />' . "\n";
}
Expand Down

0 comments on commit 73eca4e

Please sign in to comment.