Elgg  Version 3.0
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
elgg_set_http_header($header, $replace=true)
Set a response HTTP header.
Definition: elgglib.php:57
$resource
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:130