Revert "Close php tags for ajax tests on swarm"

This reverts commit f6e86c3ca4.
This commit is contained in:
Timmy Willison 2013-08-19 18:27:30 -04:00
parent f6e86c3ca4
commit 62da89b89a
3 changed files with 2 additions and 8 deletions

View File

@ -3,6 +3,4 @@
header("HTTP/1.0 400 Bad Request"); header("HTTP/1.0 400 Bad Request");
header("Content-Type: application/json"); header("Content-Type: application/json");
echo '{ "code": 40, "message": "Bad Request" }'; echo '{ "code": 40, "message": "Bad Request" }';
?>

View File

@ -2,6 +2,4 @@
header("HTTP/1.0 400 Bad Request"); header("HTTP/1.0 400 Bad Request");
echo "plain text message"; echo "plain text message";
?>

View File

@ -16,5 +16,3 @@ foreach( $_SERVER as $key => $value ) {
foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) { foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) {
echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n"; echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n";
} }
?>