exit(1);
}
-require_once INSTALLDIR . '/lib/apiauth.php';
-
/**
* Show most recent notices that are repeats in user's inbox
*
break;
case 'as':
- header('Content-Type: application/json; charset=utf-8');
+ header('Content-Type: ' . ActivityStreamJSONDocument::CONTENT_TYPE);
$doc = new ActivityStreamJSONDocument($this->auth_user);
$doc->setTitle($title);
$doc->addLink($link, 'alternate', 'text/html');