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;
}

View File

@ -19,7 +19,7 @@
'fr' => array('name' => 'Français'),
'el' => array('name' => 'Greek'),
'es' => array('name' => 'Spanish'),
'nl' => array('name' => 'Dutch'),
'nl' => array('name' => 'Dutch', 'domain' => 'graphonline.top'),
'sv' => array('name' => 'Swedish'),
'de' => array('name' => 'German'),
'pt' => array('name' => 'Portuguese'),

View File

@ -398,7 +398,8 @@
// If we have any params then ignore redirect.
if (count(array_values($_GET)) > 1)
{
return NULL;
// Redirect with params.
//return NULL;
}
// Skip for localhost