mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-16 08:15:11 +07:00
Fix logs of disabled dependent extensions
Use shared_extension function on unix
This commit is contained in:
@ -300,6 +300,8 @@ Function Disable-Extension() {
|
||||
} else {
|
||||
Add-Log $cross ":$extension" "Could not disable $extension on PHP $($installed.FullVersion) as it not a shared extension"
|
||||
}
|
||||
} elseif(Test-Path $ext_dir\php_$extension.dll) {
|
||||
Add-Log $tick ":$extension" "Disabled"
|
||||
} else {
|
||||
Add-Log $tick ":$extension" "Could not find $extension on PHP $($installed.FullVersion)"
|
||||
}
|
||||
|
Reference in New Issue
Block a user