Revert "temporary workaround for PECL certificate expiration"

This reverts commit 7c78003c9f2223b00a53e5274afba2c6f0e1c5db.
This commit is contained in:
Kévin Dunglas 2023-09-11 22:22:20 +02:00 committed by Jerry Ma
parent 4bfca6fe93
commit 1a32ddc70a

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}fSLk -o \"{$path}\" {$methodArg} {$headerArg} \"{$url}\"";
$cmd = "curl -{$check}fSL -o \"{$path}\" {$methodArg} {$headerArg} \"{$url}\"";
f_passthru($cmd);
}
}