mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-03 06:22:39 +09:00
Disable SSL checks on API calls
This commit is contained in:
@@ -191,7 +191,13 @@ class ItemController extends Controller
|
|||||||
'icon' => $path,
|
'icon' => $path,
|
||||||
]);
|
]);
|
||||||
} elseif (strpos($request->input('icon'), 'http') === 0) {
|
} 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) {
|
if ($application) {
|
||||||
$icon = $application->icon;
|
$icon = $application->icon;
|
||||||
|
|||||||
Reference in New Issue
Block a user