We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa1723 commit 953e660Copy full SHA for 953e660
1 file changed
includes/bootstrap.inc
@@ -726,12 +726,12 @@ function drupal_settings_initialize() {
726
727
// Load environmental config, if present.
728
if (isset($_SERVER['PRESSFLOW_SETTINGS'])) {
729
- $pressflow_settings = json_decode($_SERVER['PRESSFLOW_SETTINGS']);
+ $pressflow_settings = json_decode($_SERVER['PRESSFLOW_SETTINGS'], TRUE);
730
foreach ($pressflow_settings as $key => $value) {
731
// One level of depth should be enough for $conf and $database.
732
if ($key == 'conf') {
733
foreach($value as $conf_key => $conf_value) {
734
- $conf[$conf_key] = $value;
+ $conf[$conf_key] = $conf_value;
735
}
736
737
else {
0 commit comments