From b310959fd1676ef12a51dc16103ac9e4fbac6248 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 5 Sep 2017 19:57:38 +0100 Subject: [PATCH] Added --php parameter to start.ps1 --- start.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start.ps1 b/start.ps1 index 62dca7128a..ef3c1221f5 100644 --- a/start.ps1 +++ b/start.ps1 @@ -1,8 +1,11 @@ param ( + [string]$php = "", [switch]$Loop = $false ) -if(Test-Path "bin\php\php.exe"){ +if($php -ne ""){ + $binary = $php +}elseif(Test-Path "bin\php\php.exe"){ $env:PHPRC = "" $binary = "bin\php\php.exe" }else{