diff --git a/index-large.php b/index-large.php index 4f6be9a..71b2a6d 100644 --- a/index-large.php +++ b/index-large.php @@ -1,5 +1,4 @@ "of something you cannot see
because you are not logged in", @@ -7,11 +6,16 @@ 404 => 'sorry, that page doesn\'t
exist or has been moved', 500 => "of something that cannot be shown
because the server failed to process it" ); + if ( !array_key_exists( $_GET["code"] , $description ) ) { + $code = '500'; + } else { + $code = $_GET["code"]; + } ?> - Error <?php echo $_GET["code"]?> + Error <?=$code?>