diff --git a/html/index.php b/html/index.php index 37e140c..836cc2a 100644 --- a/html/index.php +++ b/html/index.php @@ -119,4 +119,4 @@ if($currentArena == ""){ - + \ No newline at end of file diff --git a/src/functions.php b/src/functions.php index 2bae4b2..315e245 100644 --- a/src/functions.php +++ b/src/functions.php @@ -86,8 +86,12 @@ function error($code,$message){ header("HTTP/1.0 404 Not Found"); echo 'Page Not found

'.$message.'

'; die; + case 400: + header ("HTTP/1.0 400 Bad Request"); + echo 'Bad request

'.$message.'

'; + die; default: - + die; break; }