Browse Source

use correct mime type for json

pull/1/head
Friendika 11 years ago
parent
commit
85e227151b
  1. 2
      mod/uexport.php

2
mod/uexport.php

@ -38,7 +38,7 @@ function uexport_init(&$a) {
$output = array('user' => $user, 'contact' => $contact, 'profile' => $profile );
header("Content-type: text/json");
header("Content-type: application/json");
echo str_replace('\\/','/',json_encode($output));
$r = q("SELECT count(*) as `total` FROM `item` WHERE `uid` = %d ",

Loading…
Cancel
Save