From 9dfd74bfb19b3b8295100f4807e1bc32363d71b3 Mon Sep 17 00:00:00 2001 From: Lewis Voncken Date: Thu, 6 Jun 2019 01:03:24 +0200 Subject: [PATCH] [TASK] Updated test to use $_SERVER and not getenv --- dev/bootstrap-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/bootstrap-controller.php b/dev/bootstrap-controller.php index 8bfd347..00504d5 100644 --- a/dev/bootstrap-controller.php +++ b/dev/bootstrap-controller.php @@ -16,7 +16,7 @@ exit(1); } -$upwardConfig = getenv('UPWARD_PHP_UPWARD_PATH'); +$upwardConfig = $_SERVER['UPWARD_PHP_UPWARD_PATH']; if (!$upwardConfig) { echo 'No path to UPWARD YAML file provided.' . PHP_EOL; exit(1);