diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 1f4649118..ef6ce0fdf 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -287,13 +287,7 @@ function access_denied() } else { - set_status_header(401); - - echo $access_denied_html; - echo ''.l10n('Identification').''; - echo ''.l10n('Home').''; - echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size - exit(); + redirect_html($login_url); } }