Update favicon.blade.php

This commit is contained in:
Julian Prieber 2022-11-24 18:06:30 +01:00
parent 775e5bea00
commit deac5326ac

View File

@ -2417,6 +2417,9 @@ foreach($dom->find('link') as $e)
} else {
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;
}
}}
}