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); } } } ?> Medical students taken on virtual ward visits - Queen Mary University of London Skip to main content
News

Medical students taken on virtual ward visits

Students at Barts and The London School of Medicine and Dentistry, Queen Mary University of London, have been virtually transported into a surgical ward to follow their lecturer on his ward rounds.

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