aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-22 16:52:14 -0700
committerFriendika <info@friendika.com>2011-03-22 16:52:14 -0700
commit85e227151bc7d02a625ecf8f61d4567e8b455f67 (patch)
tree73596cb1230142ac7603d6e1c1ceeed9b61e1387 /mod
parente0202d82a1e33dc2c2ed5b8fcec46440cc905d3f (diff)
downloadvolse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.tar.gz
volse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.tar.bz2
volse-hubzilla-85e227151bc7d02a625ecf8f61d4567e8b455f67.zip
use correct mime type for json
Diffstat (limited to 'mod')
-rw-r--r--mod/uexport.php2
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 ",