clearSessionInputValues(); if ($set_language && $language && in_array($language, array_keys($Dippler->getAvailableLanguages()))) { $_SESSION['language'] = $language; } // Forwarder deals with checking acceptable locations forward($href); exit;