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); } } } ?> QMUL hosts conference on mental health and military - Queen Mary University of London Skip to main content
News

QMUL hosts conference on mental health and military

Clinicians, policy makers, military charities and the media attended the third Forces in Mind Trust (FiMT) conference held at Queen Mary University of London (QMUL) on 16 May, exploring mental illness in UK armed forces and efforts towards changing public understanding.

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