mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-02 20:27:05 +01:00
Update favicon.blade.php
This commit is contained in:
parent
775e5bea00
commit
deac5326ac
@ -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;
|
||||
}
|
||||
}}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user