mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-10 00:50:44 +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 {
|
} else {
|
||||||
if (strtolower(trim($e->rel)) == 'icon') {
|
if (strtolower(trim($e->rel)) == 'icon') {
|
||||||
$favicon = $e->href;
|
$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