poco should now be spec compliant
This commit is contained in:
parent
abe96155b4
commit
ea0ab6fbac
4 changed files with 14 additions and 10 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue