Skip to content

Commit

Permalink
MAGECLOUD-4080: Update default example in magento-vars.php
Browse files Browse the repository at this point in the history
  • Loading branch information
NadiyaS committed Jan 30, 2020
1 parent 4b345e8 commit d9785ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magento-vars.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ function isHttpHost($host)
if (!isset($_SERVER['HTTP_HOST'])) {
return false;
}
return strpos(str_replace('---', '.', $_SERVER['HTTP_HOST']), $host) === 0;
return $_SERVER['HTTP_HOST'] === $host;
}

0 comments on commit d9785ce

Please sign in to comment.