parent
adc53dfcaf
commit
d058eb429e
|
@ -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;
|
||||
}
|
||||
}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue