mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-20 22:00:52 +01:00
Update favicon.blade.php
This commit is contained in:
parent
5c4ae7b2dc
commit
8fb722f32d
@ -2441,7 +2441,7 @@ try{
|
||||
$header = $favicon;
|
||||
$extension = pathinfo($header, PATHINFO_EXTENSION);
|
||||
if(!file_exists(base_path("studio/favicon/icons")."/".$id.".".$extension)){
|
||||
if($id.".".$extension !== ".".$id){file_put_contents(base_path("studio/favicon/icons")."/".$id.".".$extension, file_get_contents($header));}
|
||||
if($id.".".$extension !== ".".$id){file_put_contents(base_path("studio/favicon/icons")."/".$id.".".$extension, file_get_contents($header,false,$context));}
|
||||
}
|
||||
} catch (exception $e) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user