From 3b9af529ec41cc6a9723dde96714df67b65d6078 Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Mon, 11 Mar 2024 14:56:13 +0100 Subject: [PATCH] Bootstrapping: make sure, $_SERVER contains all values of $_ENV - follow up to #16652 (#16762) --- lib/Bootstrap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Bootstrap.php b/lib/Bootstrap.php index 231aa631a24..29384f82b15 100644 --- a/lib/Bootstrap.php +++ b/lib/Bootstrap.php @@ -129,6 +129,9 @@ public static function bootstrap(): void public static function defineConstants(): void { + // make sure $_SERVER contains all values of $_ENV + $_SERVER += $_ENV; + // load custom constants $customConstantsFile = PIMCORE_PROJECT_ROOT . '/config/pimcore/constants.php'; if (file_exists($customConstantsFile)) {