use correct mime type for json

2022.09-rc
Friendika 2011-03-22 16:52:14 -07:00
rodzic e0202d82a1
commit 85e227151b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 ",