Fix incorrect header
This commit is contained in:
2
chat.php
2
chat.php
@ -308,7 +308,7 @@ function send_redirect($url){
|
||||
|
||||
function send_access_denied(){
|
||||
global $H, $I, $U;
|
||||
header('HTTP/1.1 401 Forbidden');
|
||||
header('HTTP/1.1 403 Forbidden');
|
||||
print_start('access_denied');
|
||||
echo "<h1>$I[accessdenied]</h1>".sprintf($I['loggedinas'], style_this($U['nickname'], $U['style']));
|
||||
echo "<br><$H[form]>$H[commonform]".hidden('action', 'logout');
|
||||
|
Reference in New Issue
Block a user