mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-08 08:12:46 +01:00
Update favicon.blade.php
This commit is contained in:
parent
346340a548
commit
be7153121e
@ -2361,7 +2361,11 @@ $urlICO = $url . "/favicon.ico";
|
||||
$urlICO = str_replace("//favicon.ico","/favicon.ico",$urlICO);
|
||||
|
||||
$dom = new simple_html_dom();
|
||||
$dom->load(file_get_contents($url));
|
||||
|
||||
$opts = array('http'=>array('header' => "User-Agent:Mozilla/4.0 (compatible; MSIE 6.0)"));
|
||||
$context = stream_context_create($opts);
|
||||
|
||||
$dom->load(file_get_contents($url,false,$context));
|
||||
$favicon = url('littlelink/icons/website.svg');
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user