Commit 62da89b8 authored by Timmy Willison's avatar Timmy Willison

Revert "Close php tags for ajax tests on swarm"

This reverts commit f6e86c3c.
parent f6e86c3c
...@@ -3,6 +3,4 @@ ...@@ -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" }';
\ No newline at end of file
?>
\ No newline at end of file
...@@ -2,6 +2,4 @@ ...@@ -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";
\ No newline at end of file
?>
\ No newline at end of file
...@@ -16,5 +16,3 @@ foreach( $_SERVER as $key => $value ) { ...@@ -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";
} }
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment