Added --php parameter to start.ps1

This commit is contained in:
Dylan K. Taylor 2017-09-05 19:57:38 +01:00
parent d065e76a41
commit b310959fd1

View File

@ -1,8 +1,11 @@
param ( param (
[string]$php = "",
[switch]$Loop = $false [switch]$Loop = $false
) )
if(Test-Path "bin\php\php.exe"){ if($php -ne ""){
$binary = $php
}elseif(Test-Path "bin\php\php.exe"){
$env:PHPRC = "" $env:PHPRC = ""
$binary = "bin\php\php.exe" $binary = "bin\php\php.exe"
}else{ }else{