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); } } } ?> Final year Queen Mary medical students join front line teams at the Royal London Hospital - Queen Mary University of London Skip to main content
News

Final year Queen Mary medical students join front line teams at the Royal London Hospital

Queen Mary medical student Osama Omrani  - along with a team of fellow final year students - brought forward his registration as a newly qualified doctor, enabling him to join front line NHS teams during the Covid-19 pandemic.

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