Elgg  Version master
manifest.json.php
Go to the documentation of this file.
1 <?php
2 
3 elgg_set_http_header('Content-Type: application/json;charset=utf-8');
4 
6 $resource = new \Elgg\Http\WebAppManifestResource($site);
7 
8 echo json_encode($resource->get());
$site
$resource
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
Definition: elgglib.php:26
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:101