Skip to content

Commit d25aaaa

Browse files
committed
PHPC-128: use consistent env variable
1 parent 56bfcef commit d25aaaa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/start-servers.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ function lap() {
1111
return $ret;
1212
}
1313

14-
$host = "http://192.168.112.10:8889";
15-
if ($_ENV && isset($_ENV["ORCHESTRATION"])) {
16-
$host = $_ENV["ORCHESTRATION"];
14+
if (!($host = getenv("MONGODB_ORCHESTRATION"))) {
15+
$host = "http://192.168.112.10:8889";
1716
}
1817

1918
$orch = new Mongo\Orchestration($host);

0 commit comments

Comments
 (0)