Skip to content

Commit 9dfd74b

Browse files
committed
[TASK] Updated test to use $_SERVER and not getenv
1 parent a2e289c commit 9dfd74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/bootstrap-controller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
exit(1);
1717
}
1818

19-
$upwardConfig = getenv('UPWARD_PHP_UPWARD_PATH');
19+
$upwardConfig = $_SERVER['UPWARD_PHP_UPWARD_PATH'];
2020
if (!$upwardConfig) {
2121
echo 'No path to UPWARD YAML file provided.' . PHP_EOL;
2222
exit(1);

0 commit comments

Comments
 (0)