mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-02 14:07:49 +09:00
Disable SSL checks on API calls
This commit is contained in:
@@ -191,7 +191,13 @@ class ItemController extends Controller
|
||||
'icon' => $path,
|
||||
]);
|
||||
} elseif (strpos($request->input('icon'), 'http') === 0) {
|
||||
$contents = file_get_contents($request->input('icon'));
|
||||
$options=array(
|
||||
"ssl"=>array(
|
||||
"verify_peer"=>false,
|
||||
"verify_peer_name"=>false,
|
||||
),
|
||||
);
|
||||
$contents = file_get_contents($request->input('icon'), false, stream_context_create($options));
|
||||
|
||||
if ($application) {
|
||||
$icon = $application->icon;
|
||||
|
||||
Reference in New Issue
Block a user