poco should now be spec compliant

This commit is contained in:
Friendika 2011-10-27 04:38:33 -07:00
commit ea0ab6fbac
4 changed files with 14 additions and 10 deletions

View file

@ -76,7 +76,7 @@ function poco_init(&$a) {
'id' => false,
'displayName' => false,
'urls' => false,
'preferredName' => false,
'preferredUsername' => false,
'photos' => false
);
@ -114,7 +114,7 @@ function poco_init(&$a) {
if($format === 'xml') {
header('Content-type: text/xml');
echo replace_macros(get_markup_template('poco_xml.tpl',array_xmlify(array('$response' => $ret))));
echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify(array('$response' => $ret)));
http_status_exit(500);
}
if($format === 'json') {