We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b345e8 + d9785ce commit b64c286Copy full SHA for b64c286
magento-vars.php
@@ -10,5 +10,5 @@ function isHttpHost($host)
10
if (!isset($_SERVER['HTTP_HOST'])) {
11
return false;
12
}
13
- return strpos(str_replace('---', '.', $_SERVER['HTTP_HOST']), $host) === 0;
+ return $_SERVER['HTTP_HOST'] === $host;
14
0 commit comments