added link to brew tea in teapot
This commit is contained in:
parent
dca9b6d142
commit
4bade2308c
|
@ -13,7 +13,8 @@
|
|||
# return error if asked for not tea
|
||||
if($brew !== 'tea'){
|
||||
http_response_code(418);
|
||||
echo('Error 418: I\'m a teapot!');
|
||||
echo('<p>Error 418: I\'m a teapot!<p>');
|
||||
echo('<a href=\'./teapot.php?brew=tea\'>Brew tea</a>');
|
||||
die();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue