Added redirect for Dutch

This commit is contained in:
Oleg Sh
2024-10-13 11:31:01 +02:00
parent de90c5c409
commit 7cf11b0fa4
3 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ $domains = array(
function isCurrentDomain($domain)
{
return strtolower($domain) == strtolower($_SERVER['SERVER_NAME']);
return strcasecmp($domain, $_SERVER['SERVER_NAME']) == 0;
}