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); } } } ?> Queen Mary medical student takes on the world – and comes up trumps - Queen Mary University of London Skip to main content
News

Queen Mary medical student takes on the world – and comes up trumps

Queen Mary Barts and the London medical student Maria Ahmad and her three teammates from around the world have won the Elsevier ClinicalKey Global Challenge.

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(); } } ?>