Skip to content

Commit

Permalink
Variable consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove committed Jul 2, 2024
1 parent 698633a commit b3eef65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docroot/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
// Look for an incoming request header to indicate we should use the public
// asset S3 location for file rather than the Drupal-internal location.
if (!empty($public_asset_s3_base_url)) {
$headersArray = function_exists('apache_request_headers') ? apache_request_headers() : [];
$headerArray = function_exists('apache_request_headers') ? apache_request_headers() : [];
$targetHeader = 'File-Public-Base-Url-Check';
foreach ($headerArray as $header => $value) {
if (strtolower($header) == strtolower($targetHeader) && $value === 'true') {
Expand Down

0 comments on commit b3eef65

Please sign in to comment.