Newer
Older
Andreas Åkre Solberg
committed
<?php
Andreas Åkre Solberg
committed
require_once('_include.php');
Andreas Åkre Solberg
committed
$config = SimpleSAML_Configuration::getInstance();
if ($config->getBoolean('usenewui', false)) {
\SimpleSAML\Utils\HTTP::redirectTrustedURL(SimpleSAML\Module::getModuleURL('core/login.php'));
}
\SimpleSAML\Utils\HTTP::redirectTrustedURL(SimpleSAML\Module::getModuleURL('core/frontpage_welcome.php'));