temporary workaround for PECL certificate expiration

This commit is contained in:
Kévin Dunglas 2023-09-11 15:54:20 +02:00 committed by Jerry Ma
parent 727d78a689
commit dbec043894

View File

@ -395,7 +395,7 @@ class Downloader
};
$headerArg = implode(' ', array_map(fn ($v) => '"-H' . $v . '"', $headers));
$check = !defined('DEBUG_MODE') ? 's' : '#';
$cmd = "curl -{$check}fSL -o \"{$path}\" {$methodArg} {$headerArg} \"{$url}\"";
$cmd = "curl -{$check}fSLk -o \"{$path}\" {$methodArg} {$headerArg} \"{$url}\"";
f_passthru($cmd);
}
}