Skip to content

Commit deac532

Browse files
committed
Update favicon.blade.php
1 parent 775e5be commit deac532

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/components/favicon.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,6 +2417,9 @@ function get_headers($url,$format=0)
24172417
} else {
24182418
if (strtolower(trim($e->rel)) == 'icon') {
24192419
$favicon = $e->href;
2420+
if (strpos($favicon, 'http://') === false && strpos($favicon, 'https://') === false) {
2421+
$favicon = "https://".parse_url($url, PHP_URL_HOST).$e->href;
2422+
}
24202423
}}
24212424
}
24222425

0 commit comments

Comments
 (0)