mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-01 11:56:44 +01:00
Update favicon.blade.php
This commit is contained in:
parent
5c4ae7b2dc
commit
8fb722f32d
@ -2441,7 +2441,7 @@ try{
|
|||||||
$header = $favicon;
|
$header = $favicon;
|
||||||
$extension = pathinfo($header, PATHINFO_EXTENSION);
|
$extension = pathinfo($header, PATHINFO_EXTENSION);
|
||||||
if(!file_exists(base_path("studio/favicon/icons")."/".$id.".".$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) {}
|
} catch (exception $e) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user