mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +07:00
Revert "Fetch CA certificate from Curl on all Windows versions"
This reverts commit a7f90656b3
.
This commit is contained in:
parent
0bc2f7ce96
commit
a357b6a054
@ -564,7 +564,9 @@ if($version -lt "5.5") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Remove patch once root certificates are updated on image.
|
# Remove patch once root certificates are updated on image.
|
||||||
$cert_source = 'Curl'
|
if($env:ImageOS -eq 'win16') {
|
||||||
|
$cert_source = 'Curl'
|
||||||
|
}
|
||||||
|
|
||||||
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
||||||
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
||||||
|
Loading…
Reference in New Issue
Block a user