temporary workaround for PECL certificate expiration

This commit is contained in:
Kévin Dunglas
2023-09-11 15:54:20 +02:00
parent 2f3ca55313
commit 7c78003c9f

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);
}
}