We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e289c commit 2af1488Copy full SHA for 2af1488
dev/bootstrap-controller.php
@@ -16,7 +16,10 @@
16
exit(1);
17
}
18
19
-$upwardConfig = getenv('UPWARD_PHP_UPWARD_PATH');
+if (empty($_SERVER['UPWARD_PHP_UPWARD_PATH']) || !isset($_SERVER['UPWARD_PHP_UPWARD_PATH'])) {
20
+ $_SERVER = array_merge(getenv(), $_SERVER);
21
+}
22
+$upwardConfig = $_SERVER['UPWARD_PHP_UPWARD_PATH'];
23
if (!$upwardConfig) {
24
echo 'No path to UPWARD YAML file provided.' . PHP_EOL;
25
0 commit comments