moving forward again

This commit is contained in:
friendica
2012-08-08 18:50:04 -07:00
parent c28da56737
commit 9a39d4ade2
7 changed files with 33 additions and 70 deletions

View File

@@ -275,6 +275,13 @@ function z_post_url($url,$params, $headers = null, &$redirects = 0, $timeout = 0
function json_return_and_die($x) {
header("content-type: application/json");
echo json_encode($x);
killme();
}
// Generic XML return
// Outputs a basic dfrn XML status structure to STDOUT, with a <status> variable