Newer
Older
Andreas Åkre Solberg
committed
<?php
Andreas Åkre Solberg
committed
require_once('_include.php');
Andreas Åkre Solberg
committed
$config = \SimpleSAML\Configuration::getInstance();
$httpUtils = new \SimpleSAML\Utils\HTTP();
$redirect = $config->getOptionalString('frontpage.redirect', SimpleSAML\Module::getModuleURL('core/welcome'));
$httpUtils->redirectTrustedURL($redirect);