Skip to content

Commit

Permalink
use a string instead of a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
chady committed Feb 11, 2021
1 parent 41035d6 commit 0c710e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformsh-laravel-env.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function mapAppUrl(Config $config) : void
return;
}

$requestUrl = false;
$requestUrl = chr(0);
if (isset($_SERVER['SERVER_NAME'])) {
$requestUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https://' : 'http://')
. $_SERVER['SERVER_NAME'];
Expand Down

0 comments on commit 0c710e2

Please sign in to comment.