isInGroup($t4_config['groups'], $t4_config['restrict'], true, null, $t4_config['logic'], false)) { error_log("group not found"); throw new \Exception("Group not found", 403); } if (AccessControl\Core\Config::get('type') === 'Variables' && !$accessControl->isLoggedIn()) { if (!$accessControl->isLoginPage()) { $accessControl->redirectToLogin(); } elseif ($accessControl->isLoginPage(true) && isset($_GET['r']) && filter_var((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://". $_SERVER['HTTP_HOST'] . urldecode($_GET['r']), FILTER_VALIDATE_URL, FILTER_FLAG_PATH_REQUIRED) !== false) { $accessControl->redirectToURL(urldecode($_GET['r'])); } } if (AccessControl\Core\Config::get('type') !== 'Variables') { if (isset($_GET['r']) && $accessControl->isLoginPage(true) && !$accessControl->isLoggedIn()) { //stay on login page } else if (isset($_GET['r']) && $accessControl->isLoginPage(true)) { $pathToRedirectTo = filter_var(urldecode($_GET['r'])); if (preg_match('/^\/[A-Za-z0-9_\-\.\/]*$/ui', $pathToRedirectTo)) { $accessControl->redirectToURL($pathToRedirectTo, 200); } } else { $pathToRedirectTo = $accessControl->getDestinationBasedOnGroup(); if (!is_null($pathToRedirectTo)) { $accessControl->redirectToURL($pathToRedirectTo, 200); } } } ?> David Willetts MP visits Centre of the Cell - Queen Mary University of London Skip to main content
News

David Willetts MP visits Centre of the Cell

The Right Honourable David Willetts MP, the Minister for Universities and Science, today (Thursday 3 February) paid a visit to the award-winning interactive science centre for children – Centre of the Cell. 

Published on:
Back to top
getMessage(); die(); } if ($e->getCode() === 401) { http_response_code($e->getCode()); header('Location: '.\AccessControl\Core\Config::get('loginUrl').'?m='.urlencode($e->getMessage())); die(); } elseif ($e->getCode() !== 0) { http_response_code($e->getCode()); header('Location: '.\AccessControl\Core\Config::get('redirectNoAccess').'?m='.urlencode($e->getMessage())); die(); } else { http_response_code(503); die(); } } ?>