Browse Source

Replace favicon

pull/700/head
danpros 1 year ago
parent
commit
73eca4eed6
3 changed files with 1 additions and 1 deletions
  1. BIN
      favicon.ico
  2. BIN
      favicon.png
  3. +1
    -1
      system/includes/functions.php

BIN
favicon.ico View File

Before After

BIN
favicon.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.4 KiB

+ 1
- 1
system/includes/functions.php View File

@ -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";
}


Loading…
Cancel
Save