Fix phalcon.ps1

This commit is contained in:
Shivam Mathur 2020-01-16 09:22:10 +05:30
parent ca2f547a35
commit 9e7bc5c91f
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -14,8 +14,8 @@ $tick = ([char]8730)
$domain = 'https://github.com' $domain = 'https://github.com'
$php_dir = 'C:\tools\php' $php_dir = 'C:\tools\php'
$ext_dir = $php_dir + '\ext' $ext_dir = $php_dir + '\ext'
Install-Phpextension psr -MinimumStability stable -Path $php_dir
if($extension -eq "phalcon4") { if($extension -eq "phalcon4") {
Install-Phpextension psr -MinimumStability stable -Path $php_dir
Install-Phpextension phalcon -MinimumStability stable -Path $php_dir Install-Phpextension phalcon -MinimumStability stable -Path $php_dir
} else { } else {
$installed = Get-Php -Path $php_dir $installed = Get-Php -Path $php_dir