diff options
author | Friendika <info@friendika.com> | 2011-03-22 16:52:14 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-22 16:52:14 -0700 |
commit | 85e227151bc7d02a625ecf8f61d4567e8b455f67 (patch) | |
tree | 73596cb1230142ac7603d6e1c1ceeed9b61e1387 /mod/uexport.php | |
parent | e0202d82a1e33dc2c2ed5b8fcec46440cc905d3f (diff) | |
download | volse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.tar.gz volse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.tar.bz2 volse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.zip |
use correct mime type for json
Diffstat (limited to 'mod/uexport.php')
-rw-r--r-- | mod/uexport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/uexport.php b/mod/uexport.php index fdd7fcec6..96f062c41 100644 --- a/mod/uexport.php +++ b/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 ", |