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.
1 parent 4b345e8 commit d9785ceCopy full SHA for d9785ce
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