fixing error messages copied from previous version
parent
7d269b106e
commit
99d0d67e8f
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
$number = array('oh!', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine');
|
$number = array('oh!', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine');
|
||||||
$description = array (
|
$description = array (
|
||||||
401 => "of something you cannot see<br />because you are not logged in",
|
401 => "sorry, you need to authenticate<br />yourself first to access this page",
|
||||||
403 => "of something you should<br />probably not be looking for",
|
403 => "sorry, I cannot show you a page<br />you have not been granted access to",
|
||||||
404 => 'sorry, that page doesn\'t<br />exist or has been moved',
|
404 => 'sorry, that page doesn\'t<br />exist or has been moved',
|
||||||
500 => "of something that cannot be shown<br />because the server failed to process it"
|
500 => "sorry,<br />the server failed to process this page"
|
||||||
);
|
);
|
||||||
if ( !array_key_exists( $_GET["code"] , $description ) ) {
|
if ( !array_key_exists( $_GET["code"] , $description ) ) {
|
||||||
$code = '500';
|
$code = '500';
|
||||||
|
|
Loading…
Reference in New Issue