Skip to content

Commit d9785ce

Browse files
committed
MAGECLOUD-4080: Update default example in magento-vars.php
1 parent 4b345e8 commit d9785ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magento-vars.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ function isHttpHost($host)
1010
if (!isset($_SERVER['HTTP_HOST'])) {
1111
return false;
1212
}
13-
return strpos(str_replace('---', '.', $_SERVER['HTTP_HOST']), $host) === 0;
13+
return $_SERVER['HTTP_HOST'] === $host;
1414
}

0 commit comments

Comments
 (0)