Skip to content

Commit

Permalink
Merge pull request #102 from jeffm2001/8.x-home-var
Browse files Browse the repository at this point in the history
Fallback for $_SERVER['HOME']
  • Loading branch information
stovak authored Nov 4, 2021
2 parents 882f640 + 272f822 commit 5de5b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/PantheonGuzzle.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(Endpoint $endpoint, LoggerChannelFactoryInterface $l
* ), 'logger'
* );
**/
$cert = $_SERVER['HOME'] . '/certs/binding.pem';
$cert = ($_SERVER['HOME'] ?? '') . '/certs/binding.pem';
$config = [
'base_uri' => $endpoint->getBaseUri(),
'http_errors' => FALSE,
Expand Down

0 comments on commit 5de5b24

Please sign in to comment.