Skip to content

Commit 8fb722f

Browse files
committed
Update favicon.blade.php
1 parent 5c4ae7b commit 8fb722f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/favicon.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ function get_headers($url,$format=0)
24412441
$header = $favicon;
24422442
$extension = pathinfo($header, PATHINFO_EXTENSION);
24432443
if(!file_exists(base_path("studio/favicon/icons")."/".$id.".".$extension)){
2444-
if($id.".".$extension !== ".".$id){file_put_contents(base_path("studio/favicon/icons")."/".$id.".".$extension, file_get_contents($header));}
2444+
if($id.".".$extension !== ".".$id){file_put_contents(base_path("studio/favicon/icons")."/".$id.".".$extension, file_get_contents($header,false,$context));}
24452445
}
24462446
} catch (exception $e) {}
24472447

0 commit comments

Comments
 (0)