Update favicon.blade.php

@MagicLike
This commit is contained in:
Julian Prieber 2022-11-29 15:55:03 +01:00
parent adc53dfcaf
commit d058eb429e
1 changed files with 1 additions and 1 deletions

View File

@ -2425,7 +2425,7 @@ foreach($dom->find('link') as $e)
if (strtolower(trim($e->rel)) == 'icon') {
$favicon = $e->href;
if (strpos($favicon, 'http://') === false && strpos($favicon, 'https://') === false) {
$favicon = "https://".parse_url($url, PHP_URL_HOST).$e->href;
$favicon = "https://".parse_url($url, PHP_URL_HOST)."/".$e->href;
}
}}
}