mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-14 15:35:31 +00:00
Added --php parameter to start.ps1
This commit is contained in:
parent
d065e76a41
commit
b310959fd1
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user